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