summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-01-11 16:19:20 +0000
committerfoobar <sniper@php.net>2001-01-11 16:19:20 +0000
commit1fc035dfa5c63c3e371c46f57498dbc4694786a8 (patch)
treec62a9682e8a7751f24c33fb25622d1ff56635bcc
parent29714ff5302ca38955264f2590c2a80e04368268 (diff)
downloadphp-git-1fc035dfa5c63c3e371c46f57498dbc4694786a8.tar.gz
If external expat is used, header file is expat.h
-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