From d72fe76bb19e4138f257f473988c45a7b022d599 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Thu, 16 Apr 2015 18:18:37 +0300 Subject: [PATCH] Core: ensure that ngx_config.h is always included first. This fixes compilation of various 3rd party modules when nginx is configured with threads. --- src/core/ngx_core.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h index e8031ef60..a279c81d6 100644 --- 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;