Skip to content

Commit

Permalink
Core: ensure that ngx_config.h is always included first.
Browse files Browse the repository at this point in the history
This fixes compilation of various 3rd party modules when nginx is
configured with threads.
  • Loading branch information
pluknet committed Apr 16, 2015
1 parent 15334c9 commit 0b0ba16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/ngx_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0b0ba16

Please sign in to comment.