You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
freshtomato-arm/release/src-rt-6.x.4708/router/patches/php7/110-fix-build-break-with-li...

21 lines
481 B
Diff

--- php7/ext/dom/document.c
+++ php7/ext/dom/document.c
@@ -27,6 +27,7 @@
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
#include <libxml/SAX.h>
+#include <libxml/xmlsave.h>
#ifdef LIBXML_SCHEMAS_ENABLED
#include <libxml/relaxng.h>
#include <libxml/xmlschemas.h>
--- php7/ext/libxml/php_libxml.h
+++ php7/ext/libxml/php_libxml.h
@@ -39,6 +39,7 @@
#include "zend_smart_str.h"
#include <libxml/tree.h>
+#include <libxml/parser.h>
#define LIBXML_SAVE_NOEMPTYTAG 1<<2