Fixed bug #141529 i.e. various problems when building with --without-html
* xmllint.c xmlsave.c python/generator.py python/libxml.c: Fixed
bug #141529 i.e. various problems when building with --without-html
Daniel
diff --git a/xmlsave.c b/xmlsave.c
index 6e31416..b4f6de9 100644
--- a/xmlsave.c
+++ b/xmlsave.c
@@ -14,11 +14,11 @@
#include <libxml/parserInternals.h>
#include <libxml/tree.h>
#include <libxml/xmlsave.h>
-#ifdef LIBXML_HTML_ENABLED
-#include <libxml/HTMLtree.h>
#define MAX_INDENT 60
+#include <libxml/HTMLtree.h>
+
/************************************************************************
* *
* XHTML detection *
@@ -63,8 +63,6 @@
}
return(0);
}
-#endif /* LIBXML_HTML_ENABLED */
-
#ifdef LIBXML_OUTPUT_ENABLED