# HG changeset patch # User Sergey Kandaurov # Date 1429197517 -10800 # Node ID cb790d1b2d16cf3d25de7d0be1403435a8950648 # Parent c1cae8b2270ccb3405efc3c826f564ffd0aae24f 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;