comparison src/os/unix/ngx_freebsd_config.h @ 355:0fb6c53fb135

nginx-0.0.7-2004-06-15-21:47:16 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 15 Jun 2004 17:47:16 +0000
parents 83205e0b5522
children 446782c909b3
comparison
equal deleted inserted replaced
354:eaf1f651cf86 355:0fb6c53fb135
1 #ifndef _NGX_FREEBSD_CONFIG_H_INCLUDED_ 1 #ifndef _NGX_FREEBSD_CONFIG_H_INCLUDED_
2 #define _NGX_FREEBSD_CONFIG_H_INCLUDED_ 2 #define _NGX_FREEBSD_CONFIG_H_INCLUDED_
3 3
4 4
5 #include <sys/types.h>
6 #include <sys/time.h>
5 #include <unistd.h> 7 #include <unistd.h>
8 #include <stdarg.h>
6 #include <stddef.h> /* offsetof() */ 9 #include <stddef.h> /* offsetof() */
10 #include <stdio.h>
7 #include <stdlib.h> 11 #include <stdlib.h>
8 #include <stdarg.h>
9 #include <stdio.h>
10 #include <errno.h> 12 #include <errno.h>
11 #include <fcntl.h>
12 #include <string.h> 13 #include <string.h>
13 #include <signal.h> 14 #include <signal.h>
14 #include <limits.h> 15 #include <pwd.h>
15 #include <sys/types.h> 16 #include <grp.h>
17 #include <dirent.h>
18
19 #include <sys/uio.h>
20 #include <sys/filio.h> /* FIONBIO */
16 #include <sys/stat.h> 21 #include <sys/stat.h>
17 #include <sys/time.h> 22 #include <fcntl.h>
18 #include <sys/uio.h> 23
19 #include <sys/ioctl.h>
20 #include <sys/resource.h>
21 #include <sys/sysctl.h>
22 #include <sys/wait.h> 24 #include <sys/wait.h>
23 #include <sys/mman.h> 25 #include <sys/mman.h>
26 #include <sys/resource.h>
27
24 #include <sys/socket.h> 28 #include <sys/socket.h>
25 #include <netinet/in.h> 29 #include <netinet/in.h>
30 #include <arpa/inet.h>
31 #include <netdb.h>
32
33 #include <libutil.h> /* setproctitle() before 4.1 */
34 #include <osreldate.h>
35 #include <sys/sysctl.h>
26 #include <netinet/tcp.h> /* TCP_NOPUSH */ 36 #include <netinet/tcp.h> /* TCP_NOPUSH */
27 #include <arpa/inet.h>
28 #include <pwd.h>
29 #include <grp.h>
30 #include <netdb.h>
31 #include <dirent.h>
32 #include <libutil.h> /* setproctitle() brefore 4.1 */
33 #include <osreldate.h>
34 37
35 #include <ngx_auto_config.h> 38 #include <ngx_auto_config.h>
36 39
37 40
38 #ifndef HAVE_SELECT 41 #ifndef HAVE_SELECT
87 #ifndef HAVE_INHERITED_NONBLOCK 90 #ifndef HAVE_INHERITED_NONBLOCK
88 #define HAVE_INHERITED_NONBLOCK 1 91 #define HAVE_INHERITED_NONBLOCK 1
89 #endif 92 #endif
90 93
91 94
92 #ifndef HAVE_FIONBIO
93 #define HAVE_FIONBIO 1
94 #endif
95
96
97 /* STUB: autoconf */ 95 /* STUB: autoconf */
98 #define ngx_setproctitle setproctitle 96 #define ngx_setproctitle setproctitle
99 97
100 98
101 /* STUB */ 99 /* STUB */