summaryrefslogtreecommitdiff
path: root/sapi/apache/php_apache.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r--sapi/apache/php_apache.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c
index d8aab5ef2d..b75f2c5f16 100644
--- a/sapi/apache/php_apache.c
+++ b/sapi/apache/php_apache.c
@@ -21,6 +21,11 @@
#define NO_REGEX_EXTRA_H
+#ifdef WIN32
+#include <winsock2.h>
+#include <stddef.h>
+#endif
+
#include "php.h"
#include "ext/standard/head.h"
#include "php_globals.h"
@@ -39,7 +44,13 @@
#include "php_apache_http.h"
#include "http_request.h"
+
+#ifdef PHP_WIN32
+#include "zend.h"
+#include "ap_compat.h"
+#else
#include "build-defs.h"
+#endif
#define SECTION(name) PUTS("<H2>" name "</H2>\n")