comparison 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
comparison
equal deleted inserted replaced
83:a7e45c45a95c 84:fab4cb00fe5b
85 #include <stdarg.h> 85 #include <stdarg.h>
86 #include <fcntl.h> 86 #include <fcntl.h>
87 #include <signal.h> 87 #include <signal.h>
88 #include <string.h> 88 #include <string.h>
89 #include <sys/types.h> 89 #include <sys/types.h>
90 #include <sys/mman.h>
90 #include <sys/wait.h> 91 #include <sys/wait.h>
91 #include <sys/time.h> 92 #include <sys/time.h>
92 #include <sys/socket.h> 93 #include <sys/socket.h>
93 #include <sys/uio.h> 94 #include <sys/uio.h>
94 #include <netinet/in.h> 95 #include <netinet/in.h>
165 166
166 #endif /* FreeBSD sendfile */ 167 #endif /* FreeBSD sendfile */
167 168
168 /* FreeBSD sendfile nbytes bug */ 169 /* FreeBSD sendfile nbytes bug */
169 #if (__FreeBSD__ == 4 && __FreeBSD_version >= 460100) \ 170 #if (__FreeBSD__ == 4 && __FreeBSD_version >= 460100) \
170 || __FreeBSD_version == 460001 171 || __FreeBSD_version == 460001 \
171 || __FreeBSD_version >= 500029 172 || __FreeBSD_version >= 500029
172 173
173 #if (HAVE_FREEBSD_SENDFILE_NBYTES_BUG == 2) 174 #if (HAVE_FREEBSD_SENDFILE_NBYTES_BUG == 2)
175 #undef HAVE_FREEBSD_SENDFILE_NBYTES_BUG
174 #define HAVE_FREEBSD_SENDFILE_NBYTES_BUG 0 176 #define HAVE_FREEBSD_SENDFILE_NBYTES_BUG 0
175 #endif 177 #endif
176 178
177 #endif /* FreeBSD sendfile nbytes bug */ 179 #endif /* FreeBSD sendfile nbytes bug */
178 180