summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2015-04-16 18:18:37 +0300
committerSergey Kandaurov <pluknet@nginx.com>2015-04-16 18:18:37 +0300
commit0b0ba16e51f94c6fa779474112f9cf5ad6778bc6 (patch)
tree5416f7736744175791d5047e83525a45fef0a073
parent15334c981ae0aec82079dbdecedce8bc0baec8c2 (diff)
downloadnginx-0b0ba16e51f94c6fa779474112f9cf5ad6778bc6.tar.gz
Core: ensure that ngx_config.h is always included first.
This fixes compilation of various 3rd party modules when nginx is configured with threads.
-rw-r--r--src/core/ngx_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h
index bc1d43f98..97100f6d0 100644
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -9,6 +9,9 @@
#define _NGX_CORE_H_INCLUDED_
+#include <ngx_config.h>
+
+
typedef struct ngx_module_s ngx_module_t;
typedef struct ngx_conf_s ngx_conf_t;
typedef struct ngx_cycle_s ngx_cycle_t;