Mercurial > hg > nginx
comparison src/os/unix/ngx_solaris_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 | 54f76b0b8dca |
comparison
equal
deleted
inserted
replaced
354:eaf1f651cf86 | 355:0fb6c53fb135 |
---|---|
4 | 4 |
5 #define SOLARIS 1 | 5 #define SOLARIS 1 |
6 | 6 |
7 #define _REENTRANT | 7 #define _REENTRANT |
8 | 8 |
9 #define _FILE_OFFSET_BITS 64 /* must be before sys/types.h */ | 9 #define _FILE_OFFSET_BITS 64 /* must be before <sys/types.h> */ |
10 | 10 |
11 #include <sys/types.h> | |
12 #include <sys/time.h> | |
11 #include <unistd.h> | 13 #include <unistd.h> |
12 #include <inttypes.h> | 14 #include <stdarg.h> |
13 #include <stddef.h> /* offsetof() */ | 15 #include <stddef.h> /* offsetof() */ |
16 #include <stdio.h> | |
14 #include <stdlib.h> | 17 #include <stdlib.h> |
15 #include <stdarg.h> | |
16 #include <stdio.h> | |
17 #include <errno.h> | 18 #include <errno.h> |
18 #include <fcntl.h> | |
19 #include <string.h> | 19 #include <string.h> |
20 #include <signal.h> | 20 #include <signal.h> |
21 #include <limits.h> | 21 #include <pwd.h> |
22 #include <sys/types.h> | 22 #include <grp.h> |
23 #include <dirent.h> | |
24 | |
25 #include <sys/uio.h> | |
26 #include <sys/filio.h> /* FIONBIO */ | |
23 #include <sys/stat.h> | 27 #include <sys/stat.h> |
28 #include <fcntl.h> | |
29 | |
24 #include <sys/wait.h> | 30 #include <sys/wait.h> |
25 #include <sys/mman.h> | 31 #include <sys/mman.h> |
32 #include <sys/resource.h> | |
33 | |
26 #include <sys/socket.h> | 34 #include <sys/socket.h> |
27 #include <sys/sendfile.h> | |
28 #include <sys/filio.h> /* FIONBIO */ | |
29 #include <sys/systeminfo.h> | |
30 #include <netinet/in.h> | 35 #include <netinet/in.h> |
31 #include <arpa/inet.h> | 36 #include <arpa/inet.h> |
32 #include <pwd.h> | |
33 #include <grp.h> | |
34 #include <netdb.h> | 37 #include <netdb.h> |
35 #include <dirent.h> | 38 |
39 #include <sys/sendfile.h> | |
40 #include <sys/systeminfo.h> | |
41 #include <limits.h> /* IOV_MAX */ | |
42 #include <inttypes.h> | |
36 | 43 |
37 #include <ngx_auto_config.h> | 44 #include <ngx_auto_config.h> |
38 | 45 |
39 | 46 |
40 #ifndef HAVE_SELECT | 47 #ifndef HAVE_SELECT |
64 #ifndef HAVE_INHERITED_NONBLOCK | 71 #ifndef HAVE_INHERITED_NONBLOCK |
65 #define HAVE_INHERITED_NONBLOCK 1 | 72 #define HAVE_INHERITED_NONBLOCK 1 |
66 #endif | 73 #endif |
67 | 74 |
68 | 75 |
69 #ifndef HAVE_FIONBIO | |
70 #define HAVE_FIONBIO 1 | |
71 #endif | |
72 | |
73 | |
74 #define ngx_setproctitle(title) | 76 #define ngx_setproctitle(title) |
75 | 77 |
76 | 78 |
77 /* STUB */ | 79 /* STUB */ |
78 #define HAVE_LITTLE_ENDIAN 1 | 80 #define HAVE_LITTLE_ENDIAN 1 |