summaryrefslogtreecommitdiff
path: root/legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy.c')
-rw-r--r--legacy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy.c b/legacy.c
index 9ed7413..dad1d83 100644
--- a/legacy.c
+++ b/legacy.c
@@ -27,6 +27,7 @@ void xmlUpgradeOldNs(xmlDocPtr doc);
* *
************************************************************************/
+#ifdef LIBXML_HTML_ENABLED
xmlChar *htmlDecodeEntities(htmlParserCtxtPtr ctxt, int len, xmlChar end,
xmlChar end2, xmlChar end3);
@@ -60,6 +61,7 @@ htmlDecodeEntities(htmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED,
}
return (NULL);
}
+#endif
/**
* xmlInitializePredefinedEntities: