comparison src/os/unix/ngx_solaris_config.h @ 0:f0b350454894 NGINX_0_1_0

nginx 0.1.0 *) The first public version.
author Igor Sysoev <http://sysoev.ru>
date Mon, 04 Oct 2004 00:00:00 +0400
parents
children cc9f381affaa
comparison
equal deleted inserted replaced
-1:000000000000 0:f0b350454894
1
2 /*
3 * Copyright (C) Igor Sysoev
4 */
5
6
7 #ifndef _NGX_SOLARIS_CONFIG_H_INCLUDED_
8 #define _NGX_SOLARIS_CONFIG_H_INCLUDED_
9
10
11 #define SOLARIS 1
12
13 #define _REENTRANT
14
15 #define _FILE_OFFSET_BITS 64 /* must be before <sys/types.h> */
16
17 #include <sys/types.h>
18 #include <sys/time.h>
19 #include <unistd.h>
20 #include <stdarg.h>
21 #include <stddef.h> /* offsetof() */
22 #include <stdio.h>
23 #include <stdlib.h>
24 #include <errno.h>
25 #include <string.h>
26 #include <signal.h>
27 #include <pwd.h>
28 #include <grp.h>
29 #include <dirent.h>
30
31 #include <sys/uio.h>
32 #include <sys/filio.h> /* FIONBIO */
33 #include <sys/stat.h>
34 #include <fcntl.h>
35
36 #include <sys/wait.h>
37 #include <sys/mman.h>
38 #include <sys/resource.h>
39 #include <sched.h>
40
41 #include <sys/socket.h>
42 #include <netinet/in.h>
43 #include <arpa/inet.h>
44 #include <netdb.h>
45
46 #include <sys/sendfile.h>
47 #include <sys/systeminfo.h>
48 #include <limits.h> /* IOV_MAX */
49 #include <inttypes.h>
50
51 #include <ngx_auto_config.h>
52
53
54 #ifndef HAVE_SELECT
55 #define HAVE_SELECT 1
56 #endif
57
58
59 #ifndef HAVE_POLL
60 #define HAVE_POLL 1
61 #endif
62 #if (HAVE_POLL)
63 #include <poll.h>
64 #endif
65
66
67 #if (HAVE_AIO)
68 #include <aio.h>
69 #endif
70
71
72 #if (HAVE_DEVPOLL)
73 #include <sys/ioctl.h>
74 #include <sys/devpoll.h>
75 #endif
76
77
78 #ifndef HAVE_INHERITED_NONBLOCK
79 #define HAVE_INHERITED_NONBLOCK 1
80 #endif
81
82
83 #define ngx_setproctitle(title)
84
85
86 #endif /* _NGX_SOLARIS_CONFIG_H_INCLUDED_ */