diff options
Diffstat (limited to 'ext/xml/compat.c')
-rw-r--r-- | ext/xml/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xml/compat.c b/ext/xml/compat.c index cac165094f..610363aa36 100644 --- a/ext/xml/compat.c +++ b/ext/xml/compat.c @@ -17,7 +17,7 @@ */ #include "php.h" -#if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT) +#if defined(HAVE_LIBXML) && (defined(HAVE_XML) || defined(HAVE_XMLRPC)) && !defined(HAVE_LIBEXPAT) #include "expat_compat.h" typedef struct _php_xml_ns { |