comparison src/os/unix/ngx_linux_config.h @ 253:b6793bc5034b

nginx-0.0.2-2004-02-09-10:46:43 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 09 Feb 2004 07:46:43 +0000
parents 2a0540287298
children 8e39cab6abd5
comparison
equal deleted inserted replaced
252:84b1c672ec5a 253:b6793bc5034b
32 #include <pwd.h> 32 #include <pwd.h>
33 #include <grp.h> 33 #include <grp.h>
34 #include <netdb.h> 34 #include <netdb.h>
35 #include <dirent.h> 35 #include <dirent.h>
36 36
37
38 /* Linux has a broken strerror_r() */
39 #define HAVE_STRERROR_R 0
40
37 #include <ngx_auto_config.h> 41 #include <ngx_auto_config.h>
42
43
44 #if (HAVE_PRCTL)
45 #include <sys/prctl.h>
46 #endif
38 47
39 #if (HAVE_SENDFILE64) 48 #if (HAVE_SENDFILE64)
40 #include <sys/sendfile.h> 49 #include <sys/sendfile.h>
41 #else 50 #else
42 extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size); 51 extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size);
65 #define HAVE_DEFERRED_ACCEPT 1 74 #define HAVE_DEFERRED_ACCEPT 1
66 #endif 75 #endif
67 76
68 77
69 #ifndef HAVE_INHERITED_NONBLOCK 78 #ifndef HAVE_INHERITED_NONBLOCK
70 #define HAVE_INHERITED_NONBLOCK 1 79 #define HAVE_INHERITED_NONBLOCK 0
71 #endif 80 #endif
72 81
73 82
74 #ifndef HAVE_FIONBIO 83 #ifndef HAVE_FIONBIO
75 #define HAVE_FIONBIO 1 84 #define HAVE_FIONBIO 1