summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils/xml/libxml.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/xml/libxml.inc b/src/utils/xml/libxml.inc
index 82b419322..27a73e08b 100644
--- a/src/utils/xml/libxml.inc
+++ b/src/utils/xml/libxml.inc
@@ -24,6 +24,10 @@
#ifdef ENABLE_LIBXML
+#ifdef HAVE_LIBXML2
+#include <libxml/parser.h>
+#endif // HAVE_LIBXML2
+
#include <libxml/xmlwriter.h>
__XML_XMLWRITER_H__