Mercurial > hg > nginx
comparison src/os/unix/ngx_linux_config.h @ 249:2a0540287298
nginx-0.0.2-2004-02-03-19:43:54 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Feb 2004 16:43:54 +0000 |
parents | e885208c518b |
children | b6793bc5034b |
comparison
equal
deleted
inserted
replaced
248:e885208c518b | 249:2a0540287298 |
---|---|
24 #include <sys/ioctl.h> | 24 #include <sys/ioctl.h> |
25 #include <sys/resource.h> | 25 #include <sys/resource.h> |
26 #include <sys/sysctl.h> | 26 #include <sys/sysctl.h> |
27 #include <sys/wait.h> | 27 #include <sys/wait.h> |
28 #include <sys/socket.h> | 28 #include <sys/socket.h> |
29 | |
30 #if (HAVE_SENDFILE64) | |
31 #include <sys/sendfile.h> | |
32 #else | |
33 extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size); | |
34 #endif | |
35 | |
36 #include <netinet/in.h> | 29 #include <netinet/in.h> |
37 #include <netinet/tcp.h> /* TCP_CORK */ | 30 #include <netinet/tcp.h> /* TCP_CORK */ |
38 #include <arpa/inet.h> | 31 #include <arpa/inet.h> |
39 #include <pwd.h> | 32 #include <pwd.h> |
40 #include <grp.h> | 33 #include <grp.h> |
41 #include <netdb.h> | 34 #include <netdb.h> |
42 #include <dirent.h> | 35 #include <dirent.h> |
36 | |
37 #include <ngx_auto_config.h> | |
38 | |
39 #if (HAVE_SENDFILE64) | |
40 #include <sys/sendfile.h> | |
41 #else | |
42 extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size); | |
43 #endif | |
43 | 44 |
44 | 45 |
45 | 46 |
46 #ifndef HAVE_SELECT | 47 #ifndef HAVE_SELECT |
47 #define HAVE_SELECT 1 | 48 #define HAVE_SELECT 1 |