diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2015-04-16 18:18:37 +0300 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2015-04-16 18:18:37 +0300 |
| commit | d72fe76bb19e4138f257f473988c45a7b022d599 (patch) | |
| tree | f0bb09759b0f31c869b16e1cc48064f27cba7f03 | |
| parent | 4091eb749b2b5d4c3cddf1fa350e90cb2a5861ec (diff) | |
| download | nginx-d72fe76bb19e4138f257f473988c45a7b022d599.tar.gz nginx-d72fe76bb19e4138f257f473988c45a7b022d599.tar.bz2 | |
Core: ensure that ngx_config.h is always included first.
This fixes compilation of various 3rd party modules when nginx is
configured with threads.
| -rw-r--r-- | src/core/ngx_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <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; |
