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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index 66199deee..f3eb11652 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -9,6 +9,8 @@
ngx_inline inline __inline __inline__
*/
+/* STUB */
+#undef FD_SETSIZE
#define FD_SETSIZE 1024
@@ -85,6 +87,11 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#ifndef HAVE_POLL
+#define HAVE_POLL 1
+#include <poll.h>
+#endif
+
#define ngx_inline inline