aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_config.h')
-rw-r--r--src/core/ngx_config.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index a90a1dc4b..1a97b098b 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -94,22 +94,24 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+
#ifndef HAVE_POLL
#define HAVE_POLL 1
#include <poll.h>
-/*
-#ifndef INFTIM
-#define INFTIM -1
-#endif
-*/
#endif
#if (HAVE_DEVPOLL)
+#include <sys/ioctl.h>
#include <sys/devpoll.h> /* Solaris, HP/UX */
#endif
+#if (HAVE_AIO)
+#include <aio.h>
+#endif
+
+
#define ngx_inline inline