aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_linux_config.h')
-rw-r--r--src/os/unix/ngx_linux_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h
index c6c02c93e..0c0b168d7 100644
--- a/src/os/unix/ngx_linux_config.h
+++ b/src/os/unix/ngx_linux_config.h
@@ -93,11 +93,11 @@ extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size);
#endif
-#if (NGX_HAVE_FILE_AIO)
#if (NGX_HAVE_SYS_EVENTFD_H)
#include <sys/eventfd.h>
#endif
#include <sys/syscall.h>
+#if (NGX_HAVE_FILE_AIO)
#include <linux/aio_abi.h>
typedef struct iocb ngx_aiocb_t;
#endif