--- a/ext/dom/document.c 2023-11-21 10:55:59.000000000 +0100 +++ b/ext/dom/document.c 2023-11-21 15:40:35.000000000 +0100 @@ -23,6 +23,7 @@ #if defined(HAVE_LIBXML) && defined(HAVE_DOM) #include "php_dom.h" #include +#include #ifdef LIBXML_SCHEMAS_ENABLED #include #include --- a/ext/libxml/php_libxml.h 2023-11-21 10:55:59.000000000 +0100 +++ b/ext/libxml/php_libxml.h 2023-11-21 15:40:35.000000000 +0100 @@ -35,6 +35,7 @@ #include "zend_smart_str.h" #include +#include #define LIBXML_SAVE_NOEMPTYTAG 1<<2