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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index f3eb11652..51d59dac1 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -67,12 +67,14 @@
#define HAVE_INHERITED_NONBLOCK 1
#endif
+#include <sys/stropts.h> /* INFTIM */
+
#endif /* Solaris */
#include <unistd.h>
-#include <stddef.h> /* offsetof */
+#include <stddef.h> /* offsetof */
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
@@ -90,6 +92,11 @@
#ifndef HAVE_POLL
#define HAVE_POLL 1
#include <poll.h>
+/*
+#ifndef INFTIM
+#define INFTIM -1
+#endif
+*/
#endif
#define ngx_inline inline