diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-08-28 08:12:35 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-08-28 08:12:35 +0000 |
commit | a962506498d3930bea4e34bc21d261613065f98f (patch) | |
tree | f401951eaab82203accb72c8b2205b9d91f7ee07 /src/os/unix/ngx_freebsd_config.h | |
parent | 1163af9fae396700700824cca21309476cf5dd51 (diff) | |
download | nginx-a962506498d3930bea4e34bc21d261613065f98f.tar.gz nginx-a962506498d3930bea4e34bc21d261613065f98f.zip |
FreeBSD and Linux AIO support
Diffstat (limited to 'src/os/unix/ngx_freebsd_config.h')
-rw-r--r-- | src/os/unix/ngx_freebsd_config.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h index 997581a6b..20cb66640 100644 --- a/src/os/unix/ngx_freebsd_config.h +++ b/src/os/unix/ngx_freebsd_config.h @@ -73,13 +73,14 @@ #endif -#if (NGX_HAVE_AIO) -#include <aio.h> +#if (NGX_HAVE_KQUEUE) +#include <sys/event.h> #endif -#if (NGX_HAVE_KQUEUE) -#include <sys/event.h> +#if (NGX_HAVE_FILE_AIO || NGX_HAVE_AIO) +#include <aio.h> +typedef struct aiocb ngx_aiocb_t; #endif |