comparison src/os/unix/ngx_solaris_config.h @ 93:738fe44c70d5

nginx-0.0.1-2003-05-21-17:28:21 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 21 May 2003 13:28:21 +0000
parents
children 8220378432a8
comparison
equal deleted inserted replaced
92:19cc647ecd91 93:738fe44c70d5
1 #ifndef _NGX_SOLARIS_CONFIG_H_INCLUDED_
2 #define _NGX_SOLARIS_CONFIG_H_INCLUDED_
3
4
5 #define SOLARIS 1
6
7 #define _FILE_OFFSET_BITS 64 /* must be before sys/types.h */
8
9 #include <unistd.h>
10 #include <stddef.h> /* offsetof */
11 #include <stdlib.h>
12 #include <stdio.h>
13 #include <stdarg.h>
14 #include <fcntl.h>
15 #include <time.h>
16 #include <signal.h>
17 #include <string.h>
18 #include <strings.h> /* bzero() */
19 #include <sys/types.h>
20 #include <sys/filio.h> /* FIONBIO */
21 #include <sys/stropts.h> /* INFTIM */
22 #include <sys/mman.h>
23 #include <sys/wait.h>
24 #include <sys/socket.h>
25 #include <sys/uio.h>
26 #include <sys/resource.h>
27 #include <netinet/in.h>
28 #include <arpa/inet.h>
29 #include <netdb.h>
30
31
32 typedef uint32_t u_int32_t;
33
34
35 #ifndef HAVE_SELECT
36 #define HAVE_SELECT 1
37 #endif
38
39
40 #ifndef HAVE_POLL
41 #define HAVE_POLL 1
42 #endif
43 #if (HAVE_POLL)
44 #include <poll.h>
45 #endif
46
47
48 #if (HAVE_AIO)
49 #include <aio.h>
50 #endif
51
52
53 #if (HAVE_DEVPOLL)
54 #include <sys/ioctl.h>
55 #include <sys/devpoll.h>
56 #endif
57
58
59 #ifndef HAVE_INHERITED_NONBLOCK
60 #define HAVE_INHERITED_NONBLOCK 1
61 #endif
62
63
64 #endif /* _NGX_SOLARIS_CONFIG_H_INCLUDED_ */