summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/xml/expat/xmlparse.c6
-rw-r--r--ext/xml/expat/xmlrole.c6
-rw-r--r--ext/xml/expat/xmltok.c6
3 files changed, 15 insertions, 3 deletions
diff --git a/ext/xml/expat/xmlparse.c b/ext/xml/expat/xmlparse.c
index 47f08099ff..ef1ec022f6 100644
--- a/ext/xml/expat/xmlparse.c
+++ b/ext/xml/expat/xmlparse.c
@@ -4,7 +4,11 @@
#include <stddef.h>
#include <string.h> /* memset(), memcpy() */
-#include <php_config.h>
+#if PHP_WIN32
+#include "config.w32.h"
+#else
+#include "php_config.h"
+#endif
#include "php_compat.h"
#ifdef COMPILED_FROM_DSP
diff --git a/ext/xml/expat/xmlrole.c b/ext/xml/expat/xmlrole.c
index d81cba5a2f..d9a2367087 100644
--- a/ext/xml/expat/xmlrole.c
+++ b/ext/xml/expat/xmlrole.c
@@ -2,7 +2,11 @@
See the file COPYING for copying permission.
*/
-#include <php_config.h>
+#if PHP_WIN32
+#include "config.w32.h"
+#else
+#include "php_config.h"
+#endif
#include "php_compat.h"
#ifdef COMPILED_FROM_DSP
diff --git a/ext/xml/expat/xmltok.c b/ext/xml/expat/xmltok.c
index 639fb4c56b..0a11e56748 100644
--- a/ext/xml/expat/xmltok.c
+++ b/ext/xml/expat/xmltok.c
@@ -2,7 +2,11 @@
See the file COPYING for copying permission.
*/
-#include <php_config.h>
+#if PHP_WIN32
+#include "config.w32.h"
+#else
+#include "php_config.h"
+#endif
#include "php_compat.h"
#ifdef COMPILED_FROM_DSP