summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/xml/expat_compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/xml/expat_compat.h b/ext/xml/expat_compat.h
index 5652cbd526..89ee6a845e 100644
--- a/ext/xml/expat_compat.h
+++ b/ext/xml/expat_compat.h
@@ -24,6 +24,8 @@
#if !defined(HAVE_LIBEXPAT) && defined(HAVE_LIBXML)
#define LIBXML_EXPAT_COMPAT 1
+#include "php_compat.h"
+
#include <libxml/hash.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>