diff options
-rw-r--r-- | sapi/apache/php_apache_http.h | 7 |
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" |