From 6b09901479303d1df1500d70194e39e74e6eb131 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 6 Nov 2008 13:47:39 +0000 Subject: 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 --- xmllint.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmllint.c') diff --git a/xmllint.c b/xmllint.c index 6955fde6..77c1e62f 100644 --- a/xmllint.c +++ b/xmllint.c @@ -2753,8 +2753,10 @@ 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 /* -- cgit v1.2.1