Mercurial > hg > nginx
comparison src/os/unix/ngx_linux_config.h @ 94:8220378432a8
nginx-0.0.1-2003-05-22-19:23:47 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 22 May 2003 15:23:47 +0000 |
parents | 738fe44c70d5 |
children | 70d2345a903f |
comparison
equal
deleted
inserted
replaced
93:738fe44c70d5 | 94:8220378432a8 |
---|---|
1 #ifndef _NGX_LINUX_CONFIG_H_INCLUDED_ | 1 #ifndef _NGX_LINUX_CONFIG_H_INCLUDED_ |
2 #define _NGX_LINUX_CONFIG_H_INCLUDED_ | 2 #define _NGX_LINUX_CONFIG_H_INCLUDED_ |
3 | |
4 | |
5 #define _XOPEN_SOURCE 500 | |
3 | 6 |
4 | 7 |
5 #include <unistd.h> | 8 #include <unistd.h> |
6 #include <stddef.h> /* offsetof */ | 9 #include <stddef.h> /* offsetof */ |
7 #include <stdlib.h> | 10 #include <stdlib.h> |
8 #include <stdio.h> | 11 #include <stdio.h> |
9 #include <stdarg.h> | |
10 #include <fcntl.h> | 12 #include <fcntl.h> |
11 #include <signal.h> | 13 #include <signal.h> |
14 #include <time.h> | |
15 | |
16 #define __USE_BSD | |
12 #include <string.h> | 17 #include <string.h> |
13 #include <time.h> | 18 #undef __USE_BSD |
19 | |
14 #include <sys/types.h> | 20 #include <sys/types.h> |
15 #include <sys/mman.h> | 21 #include <sys/time.h> |
16 #include <sys/wait.h> | 22 #include <sys/select.h> |
23 #include <sys/uio.h> | |
24 #include <sys/ioctl.h> | |
25 #include <sys/resource.h> | |
17 #include <sys/socket.h> | 26 #include <sys/socket.h> |
18 #include <sys/uio.h> | |
19 #include <sys/resource.h> | |
20 #include <netinet/in.h> | 27 #include <netinet/in.h> |
21 #include <arpa/inet.h> | 28 #include <arpa/inet.h> |
22 #include <netdb.h> | 29 |
30 | |
31 typedef unsigned int u_int; | |
32 typedef unsigned char u_char; | |
23 | 33 |
24 | 34 |
25 #ifndef HAVE_SELECT | 35 #ifndef HAVE_SELECT |
26 #define HAVE_SELECT 1 | 36 #define HAVE_SELECT 1 |
27 #endif | 37 #endif |