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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index b72412912..b9a0988dc 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -50,6 +50,10 @@
#endif
+#ifndef INFTIM /* Linux */
+#define INFTIM -1
+#endif
+
#ifndef INADDR_NONE /* Solaris */
#define INADDR_NONE ((unsigned long) -1)
#endif