changeset 6107:db08fed33195 stable-1.8

Core: ensure that ngx_config.h is always included first. This fixes compilation of various 3rd party modules when nginx is configured with threads.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 16 Apr 2015 18:18:37 +0300
parents 2d70fc85b3b2
children 01d52c2b460d
files src/core/ngx_core.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;