aboutsummaryrefslogtreecommitdiff
path: root/src
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
commitd72fe76bb19e4138f257f473988c45a7b022d599 (patch)
treef0bb09759b0f31c869b16e1cc48064f27cba7f03 /src
parent4091eb749b2b5d4c3cddf1fa350e90cb2a5861ec (diff)
downloadnginx-d72fe76bb19e4138f257f473988c45a7b022d599.tar.gz
nginx-d72fe76bb19e4138f257f473988c45a7b022d599.zip
Core: ensure that ngx_config.h is always included first.
This fixes compilation of various 3rd party modules when nginx is configured with threads.
Diffstat (limited to 'src')
-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 e8031ef60..a279c81d6 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;