Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_darwin_config.h @ 2128:345a014436d4
*) move Darwin support to separate files
*) Darwin sendfile() support
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 30 Jul 2008 12:18:07 +0000 |
parents | src/os/unix/ngx_posix_config.h@b52cb9bf2064 |
children | 34389dfc2061 |
comparison
equal
deleted
inserted
replaced
2127:05e8de8fcfbb | 2128:345a014436d4 |
---|---|
1 | |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_DARWIN_CONFIG_H_INCLUDED_ | |
8 #define _NGX_DARWIN_CONFIG_H_INCLUDED_ | |
9 | |
10 | |
11 | |
12 #include <sys/types.h> | |
13 #include <sys/time.h> | |
14 #include <unistd.h> | |
15 #include <inttypes.h> | |
16 #include <stdarg.h> | |
17 #include <stddef.h> /* offsetof() */ | |
18 #include <stdio.h> | |
19 #include <stdlib.h> | |
20 #include <errno.h> | |
21 #include <string.h> | |
22 #include <signal.h> | |
23 #include <pwd.h> | |
24 #include <grp.h> | |
25 #include <dirent.h> | |
26 #include <glob.h> | |
27 | |
28 #include <sys/filio.h> /* FIONBIO */ | |
29 #include <sys/ioctl.h> | |
30 #include <sys/uio.h> | |
31 #include <sys/stat.h> | |
32 #include <fcntl.h> | |
33 | |
34 #include <sys/wait.h> | |
35 #include <sys/mman.h> | |
36 #include <sys/resource.h> | |
37 #include <sched.h> | |
38 | |
39 #include <sys/socket.h> | |
40 #include <netinet/in.h> | |
41 #include <netinet/tcp.h> /* TCP_NODELAY */ | |
42 #include <arpa/inet.h> | |
43 #include <netdb.h> | |
44 #include <sys/un.h> | |
45 | |
46 #include <sys/sysctl.h> | |
47 #include <xlocale.h> | |
48 | |
49 | |
50 #ifndef IOV_MAX | |
51 #define IOV_MAX 64 | |
52 #endif | |
53 | |
54 | |
55 #include <ngx_auto_config.h> | |
56 | |
57 | |
58 #if (NGX_HAVE_POLL) | |
59 #include <poll.h> | |
60 #endif | |
61 | |
62 | |
63 #if (NGX_HAVE_KQUEUE) | |
64 #include <sys/event.h> | |
65 #endif | |
66 | |
67 | |
68 #define NGX_LISTEN_BACKLOG -1 | |
69 | |
70 | |
71 #ifndef NGX_HAVE_INHERITED_NONBLOCK | |
72 #define NGX_HAVE_INHERITED_NONBLOCK 1 | |
73 #endif | |
74 | |
75 | |
76 #ifndef NGX_HAVE_CASELESS_FILESYSTEM | |
77 #define NGX_HAVE_CASELESS_FILESYSTEM 1 | |
78 #endif | |
79 | |
80 | |
81 #define NGX_HAVE_OS_SPECIFIC_INIT 1 | |
82 | |
83 | |
84 extern char **environ; | |
85 | |
86 | |
87 #endif /* _NGX_DARWIN_CONFIG_H_INCLUDED_ */ |