]> granicus.if.org Git - php/commitdiff
Fix expat_compat.h path used in #include
authorTom Van Looy <tom@ctors.net>
Tue, 20 Feb 2018 18:57:48 +0000 (19:57 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 23 Mar 2018 21:01:25 +0000 (22:01 +0100)
Using ext/xml/expat_compat.h does not work if the extension is
compiled out-of-tree.

ext/xml/php_xml.h

index a26d0927cc51d98b6bfd8a3e4381450b9c5a14e6..498f471361297f91a8f0549be524021181224e7d 100644 (file)
@@ -36,7 +36,7 @@ extern zend_module_entry xml_module_entry;
 
 #ifdef HAVE_XML 
 
-#include "ext/xml/expat_compat.h"
+#include "expat_compat.h"
 
 #ifdef XML_UNICODE
 #error "UTF-16 Unicode support not implemented!"