Commit 903fcb45c35 for php.net
commit 903fcb45c35c36857840ec7e2c5be4b3c4e0b6e9
Author: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Date: Mon May 19 19:10:27 2025 +0200
Fix deprecation warning for libxml SAX header (#18594)
This header is deprecated, but fortunately it isn't actually used.
diff --git a/ext/dom/document.c b/ext/dom/document.c
index 5f06f8dc2a8..1987cc38320 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -22,7 +22,6 @@
#include "php.h"
#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>