summaryrefslogtreecommitdiff
path: root/xmllint.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2008-11-06 13:47:39 +0000
committerDaniel Veillard <veillard@src.gnome.org>2008-11-06 13:47:39 +0000
commit6b09901479303d1df1500d70194e39e74e6eb131 (patch)
tree8986028c76b6444e4d3797dd62f0eae616baf477 /xmllint.c
parentb40744e3e4ce6faafb314625e2bbf64dfdedd334 (diff)
downloadlibxml2-6b09901479303d1df1500d70194e39e74e6eb131.tar.gz
Matthias Kaehlcke reported a build problem when not compiling HTML support
* xmllint.c: Matthias Kaehlcke reported a build problem when not compiling HTML support in. daniel svn path=/trunk/; revision=3802
Diffstat (limited to 'xmllint.c')
-rw-r--r--xmllint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmllint.c b/xmllint.c
index 6955fde6..77c1e62f 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -2753,9 +2753,11 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) {
#endif
#ifdef LIBXML_DEBUG_ENABLED
+#if defined(LIBXML_HTML_ENABLED) || defined(LIBXML_VALID_ENABLED)
if ((debugent) && (!html))
xmlDebugDumpEntities(stderr, doc);
#endif
+#endif
/*
* free it.