Skip to content

Commit

Permalink
Fix GH-12702: libxml2 2.12.0 issue building from src
Browse files Browse the repository at this point in the history
Fixes GH-12702.

Co-authored-by: nono303 <github@nono303.net>
  • Loading branch information
nielsdos and nono303 committed Nov 17, 2023
1 parent 4da89d8 commit 8a95e61
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NEWS
Expand Up @@ -5,6 +5,9 @@ PHP NEWS
- Intl:
. Fixed bug GH-12635 (Test bug69398.phpt fails with ICU 74.1). (nielsdos)

- LibXML:
. Fixed bug GH-12702 (libxml2 2.12.0 issue building from src). (nono303)

- PCRE:
. Fixed bug GH-12628 (The gh11374 test fails on Alpinelinux). (nielsdos)

Expand Down
1 change: 1 addition & 0 deletions ext/dom/document.c
Expand Up @@ -23,6 +23,7 @@
#if defined(HAVE_LIBXML) && defined(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>
Expand Down
1 change: 1 addition & 0 deletions ext/libxml/php_libxml.h
Expand Up @@ -35,6 +35,7 @@ extern zend_module_entry libxml_module_entry;

#include "zend_smart_str.h"
#include <libxml/tree.h>
#include <libxml/parser.h>

#define LIBXML_SAVE_NOEMPTYTAG 1<<2

Expand Down

0 comments on commit 8a95e61

Please sign in to comment.