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 | 0b0ba16e51f94c6fa779474112f9cf5ad6778bc6 (patch) | |
| tree | 5416f7736744175791d5047e83525a45fef0a073 /src | |
| parent | 15334c981ae0aec82079dbdecedce8bc0baec8c2 (diff) | |
| download | nginx-0b0ba16e51f94c6fa779474112f9cf5ad6778bc6.tar.gz nginx-0b0ba16e51f94c6fa779474112f9cf5ad6778bc6.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.
Diffstat (limited to 'src')
| -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 bc1d43f98..97100f6d0 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; |
