diff --git a/ext/dom/document.c b/ext/dom/document.c index 64da4f051b..3c71f03ba3 100644 --- a/ext/dom/document.c +++ b/ext/dom/document.c @@ -26,6 +26,7 @@ #ifdef LIBXML_SCHEMAS_ENABLED #include #include +#include #endif typedef struct _idsIterator idsIterator; diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h index af1cc7d6ac..b484568bb1 100644 --- a/ext/libxml/php_libxml.h +++ b/ext/libxml/php_libxml.h @@ -35,6 +35,7 @@ extern zend_module_entry libxml_module_entry; #include "zend_smart_str.h" #include +#include #define LIBXML_SAVE_NOEMPTYTAG 1<<2