comparison src/os/unix/ngx_linux_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_LINUX_CONFIG_H_INCLUDED_
2 #define _NGX_LINUX_CONFIG_H_INCLUDED_
3
4
5 #include <unistd.h>
6 #include <stddef.h> /* offsetof */
7 #include <stdlib.h>
8 #include <stdio.h>
9 #include <stdarg.h>
10 #include <fcntl.h>
11 #include <signal.h>
12 #include <string.h>
13 #include <time.h>
14 #include <sys/types.h>
15 #include <sys/mman.h>
16 #include <sys/wait.h>
17 #include <sys/socket.h>
18 #include <sys/uio.h>
19 #include <sys/resource.h>
20 #include <netinet/in.h>
21 #include <arpa/inet.h>
22 #include <netdb.h>
23
24
25 #ifndef HAVE_SELECT
26 #define HAVE_SELECT 1
27 #endif
28
29
30 #ifndef HAVE_POLL
31 #define HAVE_POLL 1
32 #endif
33 #if (HAVE_POLL)
34 #include <poll.h>
35 #endif
36
37
38 #if defined TCP_DEFER_ACCEPT && !defined HAVE_DEFERRED_ACCEPT
39 #define HAVE_DEFERRED_ACCEPT 1
40 #endif
41
42
43 #ifndef HAVE_INHERITED_NONBLOCK
44 #define HAVE_INHERITED_NONBLOCK 1
45 #endif
46
47
48 #endif /* _NGX_LINUX_CONFIG_H_INCLUDED_ */