Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
add support for nginx 1.7.11 --with-threads
Browse files Browse the repository at this point in the history
  • Loading branch information
crowell committed Apr 1, 2015
1 parent 4c92984 commit a81cc99
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ngx_message_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
#define NGX_MESSAGE_HANDLER_H_

extern "C" {
#include <ngx_auto_config.h>
#if (NGX_THREADS)
#include <ngx_thread.h>
#endif
#include <ngx_core.h>
#include <ngx_log.h>
}
Expand Down
4 changes: 4 additions & 0 deletions src/ngx_rewrite_driver_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#define NGX_REWRITE_DRIVER_FACTORY_H_

extern "C" {
#include <ngx_auto_config.h>
#if (NGX_THREADS)
#include <ngx_thread.h>
#endif
#include <ngx_core.h>
#include <ngx_http.h>
#include <ngx_config.h>
Expand Down

0 comments on commit a81cc99

Please sign in to comment.