aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-05-06 17:03:16 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-05-06 17:03:16 +0000
commit3d09c8df72bc8f4f6f4a15b59f7802444398dcf4 (patch)
tree5808a30006c81451ec796770e13e5635edb0b0e9 /src/core/ngx_config.h
parent1d8d9eee942ab1d2565048e00d1817147c49f48c (diff)
downloadnginx-3d09c8df72bc8f4f6f4a15b59f7802444398dcf4.tar.gz
nginx-3d09c8df72bc8f4f6f4a15b59f7802444398dcf4.zip
nginx-0.0.1-2003-05-06-21:03:16 import
Diffstat (limited to 'src/core/ngx_config.h')
-rw-r--r--src/core/ngx_config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index 3df08568c..8287d5680 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -87,6 +87,7 @@
#include <signal.h>
#include <string.h>
#include <sys/types.h>
+#include <sys/mman.h>
#include <sys/wait.h>
#include <sys/time.h>
#include <sys/socket.h>
@@ -167,10 +168,11 @@
/* FreeBSD sendfile nbytes bug */
#if (__FreeBSD__ == 4 && __FreeBSD_version >= 460100) \
- || __FreeBSD_version == 460001
+ || __FreeBSD_version == 460001 \
|| __FreeBSD_version >= 500029
#if (HAVE_FREEBSD_SENDFILE_NBYTES_BUG == 2)
+#undef HAVE_FREEBSD_SENDFILE_NBYTES_BUG
#define HAVE_FREEBSD_SENDFILE_NBYTES_BUG 0
#endif