]> git.kaiwu.me - nginx.git/commitdiff
Core: ensure that ngx_config.h is always included first.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 16 Apr 2015 15:18:37 +0000 (18:18 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 16 Apr 2015 15:18:37 +0000 (18:18 +0300)
This fixes compilation of various 3rd party modules when nginx is
configured with threads.

src/core/ngx_core.h

index bc1d43f985d49ef010e678fa8ad7af16889a3b80..97100f6d0669c0eb3078b378d850dde382aa1744 100644 (file)
@@ -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;