From 204c64e57f33d9a060f6a85ba1de30aaf01a6348 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Tue, 8 Oct 2002 00:13:56 +0000 Subject: [PATCH] zlib.h being included before ssl.h needs to be handled here too --- sapi/apache/php_apache_http.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sapi/apache/php_apache_http.h b/sapi/apache/php_apache_http.h index 56590fb822e..f3909efb772 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 +#endif #include "httpd.h" #include "http_config.h"