summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 6cd191453a..d6c220b3e1 100644
--- a/main/php.h
+++ b/main/php.h
@@ -22,6 +22,10 @@
#ifndef PHP_H
#define PHP_H
+#ifdef PHP_WIN32
+#include <winsock2.h>
+#endif
+
#ifdef HAVE_DMALLOC
#include <dmalloc.h>
#endif