summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/wddx/php_wddx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/wddx/php_wddx.h b/ext/wddx/php_wddx.h
index e2bb26dbb9..245099d197 100644
--- a/ext/wddx/php_wddx.h
+++ b/ext/wddx/php_wddx.h
@@ -34,7 +34,11 @@
#if HAVE_WDDX
+#ifdef HAVE_LIBEXPAT2
+#include <expat.h>
+#else
#include "xmlparse.h"
+#endif
extern zend_module_entry wddx_module_entry;
#define wddx_module_ptr &wddx_module_entry