diff options
Diffstat (limited to 'ext/xml/php3_xml.h')
-rw-r--r-- | ext/xml/php3_xml.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/ext/xml/php3_xml.h b/ext/xml/php3_xml.h index 5016848c8e..0c4c706d9d 100644 --- a/ext/xml/php3_xml.h +++ b/ext/xml/php3_xml.h @@ -29,13 +29,13 @@ /* $Id$ */ -#ifndef _PHP_XML_H -# define _PHP_XML_H +#if HAVE_LIBEXPAT +# ifndef _PHP_XML_H +# define _PHP_XML_H +# endif -# if HAVE_LIBEXPAT - -#include <xmltok.h> -#include <xmlparse.h> +#include <xml/xmltok.h> +#include <xml/xmlparse.h> #ifdef XML_UNICODE # error "UTF-16 Unicode support not implemented!" @@ -129,8 +129,6 @@ PHP_FUNCTION(xml_parse_into_struct); #define phpext_xml_ptr xml_module_ptr -# endif /* _PHP_XML_H */ - /* * Local variables: * tab-width: 4 |