fixing compilation bug with some options disabled as well as
* debugXML.c testHTML.c tree.c doc/examples/*.c
include/libxml/xmlsave.h: fixing compilation bug with some options
disabled as well as --with-minimum should fix #134695
Daniel
diff --git a/include/libxml/xmlsave.h b/include/libxml/xmlsave.h
index f783ffd..1d43a71 100644
--- a/include/libxml/xmlsave.h
+++ b/include/libxml/xmlsave.h
@@ -14,6 +14,7 @@
#include <libxml/tree.h>
#include <libxml/xmlIO.h>
+#ifdef LIBXML_OUTPUT_ENABLED
#ifdef __cplusplus
extern "C" {
#endif
@@ -54,6 +55,7 @@
#ifdef __cplusplus
}
#endif
+#endif /* LIBXML_OUTPUT_ENABLED */
#endif /* __XML_XMLSAVE_H__ */