Annotation of embedaddon/nginx/src/os/unix/ngx_solaris_config.h, revision 1.1.1.1
1.1 misho 1:
2: /*
3: * Copyright (C) Igor Sysoev
4: * Copyright (C) Nginx, Inc.
5: */
6:
7:
8: #ifndef _NGX_SOLARIS_CONFIG_H_INCLUDED_
9: #define _NGX_SOLARIS_CONFIG_H_INCLUDED_
10:
11:
12: #ifndef _REENTRANT
13: #define _REENTRANT
14: #endif
15:
16: #define _FILE_OFFSET_BITS 64 /* must be before <sys/types.h> */
17:
18: #include <sys/types.h>
19: #include <sys/time.h>
20: #include <unistd.h>
21: #include <stdarg.h>
22: #include <stddef.h> /* offsetof() */
23: #include <stdio.h>
24: #include <stdlib.h>
25: #include <errno.h>
26: #include <string.h>
27: #include <signal.h>
28: #include <pwd.h>
29: #include <grp.h>
30: #include <dirent.h>
31: #include <glob.h>
32: #include <time.h>
33: #include <sys/statvfs.h> /* statvfs() */
34:
35: #include <sys/filio.h> /* FIONBIO */
36: #include <sys/uio.h>
37: #include <sys/stat.h>
38: #include <fcntl.h>
39:
40: #include <sys/wait.h>
41: #include <sys/mman.h>
42: #include <sys/resource.h>
43: #include <sched.h>
44:
45: #include <sys/socket.h>
46: #include <netinet/in.h>
47: #include <netinet/tcp.h> /* TCP_NODELAY */
48: #include <arpa/inet.h>
49: #include <netdb.h>
50: #include <sys/un.h>
51:
52: #include <sys/systeminfo.h>
53: #include <limits.h> /* IOV_MAX */
54: #include <inttypes.h>
55: #include <crypt.h>
56:
57: #define NGX_ALIGNMENT _MAX_ALIGNMENT
58:
59: #include <ngx_auto_config.h>
60:
61:
62: #if (NGX_HAVE_POSIX_SEM)
63: #include <semaphore.h>
64: #endif
65:
66:
67: #if (NGX_HAVE_POLL)
68: #include <poll.h>
69: #endif
70:
71:
72: #if (NGX_HAVE_DEVPOLL)
73: #include <sys/ioctl.h>
74: #include <sys/devpoll.h>
75: #endif
76:
77:
78: #if (NGX_HAVE_EVENTPORT)
79: #include <port.h>
80: #endif
81:
82:
83: #if (NGX_HAVE_SENDFILE)
84: #include <sys/sendfile.h>
85: #endif
86:
87:
88: #define NGX_LISTEN_BACKLOG 511
89:
90:
91: #ifndef NGX_HAVE_INHERITED_NONBLOCK
92: #define NGX_HAVE_INHERITED_NONBLOCK 1
93: #endif
94:
95:
96: #ifndef NGX_HAVE_SO_SNDLOWAT
97: /* setsockopt(SO_SNDLOWAT) returns ENOPROTOOPT */
98: #define NGX_HAVE_SO_SNDLOWAT 0
99: #endif
100:
101:
102: #define NGX_HAVE_OS_SPECIFIC_INIT 1
103: #define ngx_debug_init()
104:
105:
106: extern char **environ;
107:
108:
109: #endif /* _NGX_SOLARIS_CONFIG_H_INCLUDED_ */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>