1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix includes for separate builds for ext/dom (#14752)

* Update include declaration in Dom css selectors

May fix 88da914910 (r143708340)

* Remove pointless guards

* Fix Windows build

* Use relative path
This commit is contained in:
Niels Dossche
2024-07-01 11:22:58 -07:00
committed by GitHub
parent 1d905442e5
commit 0c5d3db79b
2 changed files with 3 additions and 6 deletions

View File

@@ -14,9 +14,9 @@
#include <php.h>
#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 <math.h>

View File

@@ -17,8 +17,6 @@
#ifndef PHP_DOM_XPATH_CALLBACKS_H
#define PHP_DOM_XPATH_CALLBACKS_H
#if defined(HAVE_LIBXML) && defined(HAVE_DOM)
#include <libxml/xpathInternals.h>
#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