Mercurial > hg > nginx
comparison src/os/unix/ngx_linux_config.h @ 355:0fb6c53fb135
nginx-0.0.7-2004-06-15-21:47:16 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 15 Jun 2004 17:47:16 +0000 |
parents | a0beefedaf94 |
children | 0a03c921c81d |
comparison
equal
deleted
inserted
replaced
354:eaf1f651cf86 | 355:0fb6c53fb135 |
---|---|
6 | 6 |
7 #define _FILE_OFFSET_BITS 64 | 7 #define _FILE_OFFSET_BITS 64 |
8 #define _LARGEFILE_SOURCE | 8 #define _LARGEFILE_SOURCE |
9 | 9 |
10 | 10 |
11 #include <sys/types.h> | |
12 #include <sys/time.h> | |
11 #include <unistd.h> | 13 #include <unistd.h> |
14 #include <stdarg.h> | |
12 #include <stddef.h> /* offsetof() */ | 15 #include <stddef.h> /* offsetof() */ |
16 #include <stdio.h> | |
13 #include <stdlib.h> | 17 #include <stdlib.h> |
14 #include <stdarg.h> | |
15 #include <stdio.h> | |
16 #include <errno.h> | 18 #include <errno.h> |
17 #include <fcntl.h> | |
18 #include <string.h> | 19 #include <string.h> |
19 #include <signal.h> | 20 #include <signal.h> |
20 #include <limits.h> | 21 #include <pwd.h> |
21 #include <time.h> | 22 #include <grp.h> |
22 #include <sys/types.h> | 23 #include <dirent.h> |
23 #include <sys/time.h> | 24 |
24 #include <sys/select.h> | |
25 #include <sys/uio.h> | 25 #include <sys/uio.h> |
26 #include <sys/ioctl.h> | 26 #include <sys/stat.h> |
27 #include <sys/resource.h> | 27 #include <fcntl.h> |
28 #include <sys/sysctl.h> | 28 |
29 #include <sys/wait.h> | 29 #include <sys/wait.h> |
30 #include <sys/mman.h> | 30 #include <sys/mman.h> |
31 #include <sys/resource.h> | |
32 | |
31 #include <sys/socket.h> | 33 #include <sys/socket.h> |
32 #include <netinet/in.h> | 34 #include <netinet/in.h> |
35 #include <arpa/inet.h> | |
36 #include <netdb.h> | |
37 | |
38 #include <time.h> /* tzset() */ | |
39 #include <sys/ioctl.h> | |
40 #include <sys/sysctl.h> | |
33 #include <netinet/tcp.h> /* TCP_CORK */ | 41 #include <netinet/tcp.h> /* TCP_CORK */ |
34 #include <arpa/inet.h> | |
35 #include <pwd.h> | |
36 #include <grp.h> | |
37 #include <netdb.h> | |
38 #include <dirent.h> | |
39 | 42 |
43 | |
44 /* Linux has no <sys/filio.h> so autoconfigure does not find FIONBIO */ | |
45 #ifndef HAVE_FIONBIO | |
46 #define HAVE_FIONBIO 1 | |
47 #endif | |
40 | 48 |
41 #include <ngx_auto_config.h> | 49 #include <ngx_auto_config.h> |
42 | 50 |
43 | 51 |
44 #if (HAVE_PRCTL) | 52 #if (HAVE_PRCTL) |
78 #ifndef HAVE_INHERITED_NONBLOCK | 86 #ifndef HAVE_INHERITED_NONBLOCK |
79 #define HAVE_INHERITED_NONBLOCK 0 | 87 #define HAVE_INHERITED_NONBLOCK 0 |
80 #endif | 88 #endif |
81 | 89 |
82 | 90 |
83 #ifndef HAVE_FIONBIO | |
84 #define HAVE_FIONBIO 1 | |
85 #endif | |
86 | |
87 | |
88 #ifndef HAVE_SELECT_CHANGE_TIMEOUT | 91 #ifndef HAVE_SELECT_CHANGE_TIMEOUT |
89 #define HAVE_SELECT_CHANGE_TIMEOUT 1 | 92 #define HAVE_SELECT_CHANGE_TIMEOUT 1 |
90 #endif | 93 #endif |
91 | 94 |
92 | 95 |