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_linux_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_linux_config.h')
-rw-r--r-- | src/os/unix/ngx_linux_config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h index fb978c46e..cf45e54a1 100644 --- a/src/os/unix/ngx_linux_config.h +++ b/src/os/unix/ngx_linux_config.h @@ -81,6 +81,13 @@ extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size); #endif +#if (NGX_HAVE_FILE_AIO) +#include <sys/syscall.h> +#include <linux/aio_abi.h> +typedef struct iocb ngx_aiocb_t; +#endif + + #define NGX_LISTEN_BACKLOG 511 |