# HG changeset patch # User Sergey Kandaurov # Date 1429197517 -10800 # Node ID db08fed331950e33d8563aaf1d541b8c07b32f35 # Parent 2d70fc85b3b26ca799a846cb6c805e2efd2c41fc Core: ensure that ngx_config.h is always included first. This fixes compilation of various 3rd party modules when nginx is configured with threads. diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h --- a/src/core/ngx_core.h +++ b/src/core/ngx_core.h @@ -9,6 +9,9 @@ #define _NGX_CORE_H_INCLUDED_ +#include + + typedef struct ngx_module_s ngx_module_t; typedef struct ngx_conf_s ngx_conf_t; typedef struct ngx_cycle_s ngx_cycle_t;