From d048baa4c7044a759b5f16496f670aa311c4c68a Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 9 Jul 2004 09:48:10 +0000 Subject: [PATCH] =?UTF-8?q?Abw=C3=A4rtskompatibilit=C3=A4t=20zu=20alten=20?= =?UTF-8?q?(pre-2.6)=20Versionen=20von=20libxml.=20Die=20Uni=20Paderborn?= =?UTF-8?q?=20hat=20so=20einen=20Scheiss=20installiert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/util/xml.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/util/xml.c b/src/common/util/xml.c index 09ccc4eb5..b57929dde 100644 --- a/src/common/util/xml.c +++ b/src/common/util/xml.c @@ -94,7 +94,11 @@ read_xml(const char * filename) xml_reader * reader = xmlReaders; xmlDocPtr doc; +#ifdef XML_PARSE_XINCLUDE doc = xmlReadFile(filename, NULL, XML_PARSE_XINCLUDE); +#else + doc = xmlParseFile(filename); +#endif if (doc==NULL) { log_error(("could not open %s\n", filename)); return -1;