summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/apache/php_apache_http.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/apache/php_apache_http.h b/sapi/apache/php_apache_http.h
index 5cf10407fa..b236e5d44b 100644
--- a/sapi/apache/php_apache_http.h
+++ b/sapi/apache/php_apache_http.h
@@ -40,6 +40,10 @@
# include <openssl/ssl.h>
#endif
+#ifdef regex_t
+#undef regex_t
+#endif
+
#include "httpd.h"
#include "http_config.h"