summaryrefslogtreecommitdiff
path: root/sapi/apache
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2002-10-08 00:13:56 +0000
committerRasmus Lerdorf <rasmus@php.net>2002-10-08 00:13:56 +0000
commit204c64e57f33d9a060f6a85ba1de30aaf01a6348 (patch)
tree5c84926191283b23d04777c0058e28dddb4ca14c /sapi/apache
parent5acdd41d6e8f8b7aa5c99e32b0b2a783aca81f91 (diff)
downloadphp-git-204c64e57f33d9a060f6a85ba1de30aaf01a6348.tar.gz
zlib.h being included before ssl.h needs to be handled here too
Diffstat (limited to 'sapi/apache')
-rw-r--r--sapi/apache/php_apache_http.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sapi/apache/php_apache_http.h b/sapi/apache/php_apache_http.h
index 56590fb822..f3909efb77 100644
--- a/sapi/apache/php_apache_http.h
+++ b/sapi/apache/php_apache_http.h
@@ -11,6 +11,13 @@
#include "zend.h"
#include "php_regex.h"
+#include "php_compat.h"
+
+#if HAVE_OPENSSL_EXT
+/* zlib typedefs free_func which causes problems if the SSL includes happen
+ * after zlib.h is included */
+# include <openssl/ssl.h>
+#endif
#include "httpd.h"
#include "http_config.h"