Mercurial > hg > nginx
diff src/core/ngx_config.h @ 84:fab4cb00fe5b
nginx-0.0.1-2003-05-06-21:03:16 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 06 May 2003 17:03:16 +0000 |
parents | 59229033ae93 |
children | 637625a2acdb |
line wrap: on
line diff
--- 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