This repository was archived by the owner on Apr 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 361
Fails to build with nginx 1.7.11 and --with-threads #948
Comments
applying this diff fixes the build for 1.7.11, but breaks 1.6.2 (the current stable) diff --git a/src/ngx_message_handler.h b/src/ngx_message_handler.h
index fdcaf0b..cfa2f33 100644
--- a/src/ngx_message_handler.h
+++ b/src/ngx_message_handler.h
@@ -18,6 +18,7 @@
#define NGX_MESSAGE_HANDLER_H_
extern "C" {
+ #include <ngx_thread.h>
#include <ngx_core.h>
#include <ngx_log.h>
}
diff --git a/src/ngx_rewrite_driver_factory.h b/src/ngx_rewrite_driver_factory.h
index 9ce36dd..5d97e95 100644
--- a/src/ngx_rewrite_driver_factory.h
+++ b/src/ngx_rewrite_driver_factory.h
@@ -20,6 +20,7 @@
#define NGX_REWRITE_DRIVER_FACTORY_H_
extern "C" {
+ #include <ngx_thread.h>
#include <ngx_core.h>
#include <ngx_http.h>
#include <ngx_config.h>
|
error from building on 1.6.2 with that patch applied
|
fixed in a81cc99 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
bug report from here : https://groups.google.com/forum/#!topic/ngx-pagespeed-discuss/62fSCt3av9A
configure nginx --with-threads
eg
CC=clang CXX=clang++ ./configure --with-threads --add-module=/tmp/gnx/ngx_pagespeed-release-1.9.32.3-beta
The text was updated successfully, but these errors were encountered: