aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_posix_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-08-28 08:12:35 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-08-28 08:12:35 +0000
commita962506498d3930bea4e34bc21d261613065f98f (patch)
treef401951eaab82203accb72c8b2205b9d91f7ee07 /src/os/unix/ngx_posix_config.h
parent1163af9fae396700700824cca21309476cf5dd51 (diff)
downloadnginx-a962506498d3930bea4e34bc21d261613065f98f.tar.gz
nginx-a962506498d3930bea4e34bc21d261613065f98f.zip
FreeBSD and Linux AIO support
Diffstat (limited to 'src/os/unix/ngx_posix_config.h')
-rw-r--r--src/os/unix/ngx_posix_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h
index 3644151ee..86a80d701 100644
--- a/src/os/unix/ngx_posix_config.h
+++ b/src/os/unix/ngx_posix_config.h
@@ -112,6 +112,12 @@
#endif
+#if (NGX_HAVE_FILE_AIO)
+#include <aio.h>
+typedef struct aiocb ngx_aiocb_t;
+#endif
+
+
#define NGX_LISTEN_BACKLOG 511