Mercurial > hg > nginx
comparison src/core/ngx_core.h @ 6106:cb790d1b2d16
Core: ensure that ngx_config.h is always included first.
This fixes compilation of various 3rd party modules when nginx is
configured with threads.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 16 Apr 2015 18:18:37 +0300 |
parents | 682d8222c6b1 |
children | 8b6fa4842133 |
comparison
equal
deleted
inserted
replaced
6105:c1cae8b2270c | 6106:cb790d1b2d16 |
---|---|
5 */ | 5 */ |
6 | 6 |
7 | 7 |
8 #ifndef _NGX_CORE_H_INCLUDED_ | 8 #ifndef _NGX_CORE_H_INCLUDED_ |
9 #define _NGX_CORE_H_INCLUDED_ | 9 #define _NGX_CORE_H_INCLUDED_ |
10 | |
11 | |
12 #include <ngx_config.h> | |
10 | 13 |
11 | 14 |
12 typedef struct ngx_module_s ngx_module_t; | 15 typedef struct ngx_module_s ngx_module_t; |
13 typedef struct ngx_conf_s ngx_conf_t; | 16 typedef struct ngx_conf_s ngx_conf_t; |
14 typedef struct ngx_cycle_s ngx_cycle_t; | 17 typedef struct ngx_cycle_s ngx_cycle_t; |