forked from github/server
Abwärtskompatibilität zu alten (pre-2.6) Versionen von libxml.
Die Uni Paderborn hat so einen Scheiss installiert.
This commit is contained in:
parent
3449399eec
commit
d048baa4c7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue