Mercurial > hg > nginx
comparison src/os/unix/ngx_freebsd_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 | 418c9f97bd01 |
children | 0daede16d68b |
comparison
equal
deleted
inserted
replaced
3051:26dfc0fa22c8 | 3052:6060225e9261 |
---|---|
71 #if (NGX_HAVE_POLL) | 71 #if (NGX_HAVE_POLL) |
72 #include <poll.h> | 72 #include <poll.h> |
73 #endif | 73 #endif |
74 | 74 |
75 | 75 |
76 #if (NGX_HAVE_AIO) | 76 #if (NGX_HAVE_KQUEUE) |
77 #include <aio.h> | 77 #include <sys/event.h> |
78 #endif | 78 #endif |
79 | 79 |
80 | 80 |
81 #if (NGX_HAVE_KQUEUE) | 81 #if (NGX_HAVE_FILE_AIO || NGX_HAVE_AIO) |
82 #include <sys/event.h> | 82 #include <aio.h> |
83 typedef struct aiocb ngx_aiocb_t; | |
83 #endif | 84 #endif |
84 | 85 |
85 | 86 |
86 #define NGX_LISTEN_BACKLOG -1 | 87 #define NGX_LISTEN_BACKLOG -1 |
87 | 88 |