diff --git a/ext/dom/lexbor/lexbor/selectors-adapted/selectors.c b/ext/dom/lexbor/lexbor/selectors-adapted/selectors.c index aa11a34848412..8bd996a3910fe 100644 --- a/ext/dom/lexbor/lexbor/selectors-adapted/selectors.c +++ b/ext/dom/lexbor/lexbor/selectors-adapted/selectors.c @@ -14,9 +14,9 @@ #include #include "lexbor/selectors-adapted/selectors.h" -#include "ext/dom/namespace_compat.h" -#include "ext/dom/domexception.h" -#include "ext/dom/php_dom.h" +#include "../../../namespace_compat.h" +#include "../../../domexception.h" +#include "../../../php_dom.h" #include diff --git a/ext/dom/xpath_callbacks.h b/ext/dom/xpath_callbacks.h index 5691c03fa0cab..3a4d8731f4748 100644 --- a/ext/dom/xpath_callbacks.h +++ b/ext/dom/xpath_callbacks.h @@ -17,8 +17,6 @@ #ifndef PHP_DOM_XPATH_CALLBACKS_H #define PHP_DOM_XPATH_CALLBACKS_H -#if defined(HAVE_LIBXML) && defined(HAVE_DOM) - #include #include "xml_common.h" @@ -65,4 +63,3 @@ PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_call_php_ns(php_dom_xpath_cal PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_call_custom_ns(php_dom_xpath_callbacks *xpath_callbacks, xmlXPathParserContextPtr ctxt, int num_args, php_dom_xpath_nodeset_evaluation_mode evaluation_mode, dom_object *intern, php_dom_xpath_callbacks_proxy_factory proxy_factory); #endif -#endif