diff options
author | Michael Bonfils <murlock42@gmail.com> | 2012-08-16 17:46:29 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-08-16 17:46:29 +0800 |
commit | 9e5d4dc5c0c7a4810eee28d1cdebc86e587f76bf (patch) | |
tree | fc4a92cf79f91dd67502edfa61330bdf5a850c05 /xsltproc | |
parent | 5e184e7154e8aa466e988f17c8b97b65196f94bf (diff) | |
download | libxslt-9e5d4dc5c0c7a4810eee28d1cdebc86e587f76bf.tar.gz libxslt-9e5d4dc5c0c7a4810eee28d1cdebc86e587f76bf.tar.bz2 libxslt-9e5d4dc5c0c7a4810eee28d1cdebc86e587f76bf.zip |
xincludestyle wasn't protected with LIBXML_XINCLUDE_ENABLED
Leading to possible compilation issue if this isn't in libxml2
Diffstat (limited to 'xsltproc')
-rw-r--r-- | xsltproc/xsltproc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c index 42d6b9aa..35f37e8b 100644 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -819,6 +819,7 @@ main(int argc, char **argv) style = xmlReadFile((const char *) argv[i], NULL, options); if (timing) endTimer("Parsing stylesheet %s", argv[i]); +#ifdef LIBXML_XINCLUDE_ENABLED if (xincludestyle) { if (style != NULL) { if (timing) @@ -833,6 +834,7 @@ main(int argc, char **argv) } } } +#endif if (style == NULL) { fprintf(stderr, "cannot parse %s\n", argv[i]); cur = NULL; |