+++ a/gsf/gsf-libxml.c
@@ -27,6 +27,8 @@
#include <math.h>
#include <string.h>
+#include <libxml/xmlerror.h>
+#include <libxml/parser.h>
#undef DEBUG_PUSH_POP