Mercurial > hg > nginx
comparison src/os/unix/ngx_solaris_config.h @ 3052:6060225e9261
FreeBSD and Linux AIO support
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 28 Aug 2009 08:12:35 +0000 |
parents | ceef364208c8 |
children | 0daede16d68b |
comparison
equal
deleted
inserted
replaced
3051:26dfc0fa22c8 | 3052:6060225e9261 |
---|---|
60 #if (NGX_HAVE_POLL) | 60 #if (NGX_HAVE_POLL) |
61 #include <poll.h> | 61 #include <poll.h> |
62 #endif | 62 #endif |
63 | 63 |
64 | 64 |
65 #if (NGX_HAVE_SENDFILE) | |
66 #include <sys/sendfile.h> | |
67 #endif | |
68 | |
69 | |
70 #if (NGX_HAVE_AIO) | |
71 #include <aio.h> | |
72 #endif | |
73 | |
74 | |
75 #if (NGX_HAVE_DEVPOLL) | 65 #if (NGX_HAVE_DEVPOLL) |
76 #include <sys/ioctl.h> | 66 #include <sys/ioctl.h> |
77 #include <sys/devpoll.h> | 67 #include <sys/devpoll.h> |
78 #endif | 68 #endif |
79 | 69 |
80 | 70 |
81 #if (NGX_HAVE_EVENTPORT) | 71 #if (NGX_HAVE_EVENTPORT) |
82 #include <port.h> | 72 #include <port.h> |
73 #endif | |
74 | |
75 | |
76 #if (NGX_HAVE_SENDFILE) | |
77 #include <sys/sendfile.h> | |
83 #endif | 78 #endif |
84 | 79 |
85 | 80 |
86 #define NGX_LISTEN_BACKLOG 511 | 81 #define NGX_LISTEN_BACKLOG 511 |
87 | 82 |