X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obt%2Fxml.c;h=c872912926405959ecd85063b9feb317e225af4d;hb=30fe9697dfd7276a8d18cdecde9809eeec80bf0d;hp=ffff1500e16d341b430584de1b132a027a5726d1;hpb=890e13b919892887b773462bb866e849e0cb4d91;p=chaz%2Fopenbox diff --git a/obt/xml.c b/obt/xml.c index ffff1500..c8729129 100644 --- a/obt/xml.c +++ b/obt/xml.c @@ -19,6 +19,7 @@ #include "obt/xml.h" #include "obt/paths.h" +#include #include #ifdef HAVE_STDLIB_H @@ -136,6 +137,8 @@ static gboolean load_file(ObtXmlInst *i, with extra nodes in it. */ i->doc = xmlReadFile(path, NULL, (XML_PARSE_NOBLANKS | XML_PARSE_RECOVER)); + xmlXIncludeProcessFlags(i->doc, (XML_PARSE_NOBLANKS | + XML_PARSE_RECOVER)); if (i->doc) { i->root = xmlDocGetRootElement(i->doc); if (!i->root) {