]> 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 e8031ef609a9a78a6485f95c227470ef25f32725..a279c81d662629daa8691a83f1f591a5f9456acd 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;