From 33289dfa5cc9cb40a506603c5ec3f469c8208afa Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:26:50 +0200 Subject: [PATCH] Revert "Remove unnecessary include statements from dom" This reverts commit dd795022fa5644cc8a5a54fd63c99ab3c6bc81e1. --- ext/dom/html5_serializer.c | 1 + ext/dom/namespace_compat.c | 1 + 2 files changed, 2 insertions(+) diff --git a/ext/dom/html5_serializer.c b/ext/dom/html5_serializer.c index cd37b227739..215acb6da95 100644 --- a/ext/dom/html5_serializer.c +++ b/ext/dom/html5_serializer.c @@ -20,6 +20,7 @@ #include "php.h" #if defined(HAVE_LIBXML) && defined(HAVE_DOM) +#include "php_dom.h" #include "html5_serializer.h" #include "namespace_compat.h" #include "serialize_common.h" diff --git a/ext/dom/namespace_compat.c b/ext/dom/namespace_compat.c index 22442effa86..69991c1427f 100644 --- a/ext/dom/namespace_compat.c +++ b/ext/dom/namespace_compat.c @@ -20,6 +20,7 @@ #include "php.h" #if defined(HAVE_LIBXML) && defined(HAVE_DOM) +#include "php_dom.h" #include "namespace_compat.h" #include "internal_helpers.h"