summaryrefslogtreecommitdiff
path: root/schematron.c
diff options
context:
space:
mode:
Diffstat (limited to 'schematron.c')
-rw-r--r--schematron.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/schematron.c b/schematron.c
index 537b868..eb4befe 100644
--- a/schematron.c
+++ b/schematron.c
@@ -165,8 +165,10 @@ struct _xmlSchematronValidCtxt {
FILE *outputFile; /* if using XML_SCHEMATRON_OUT_FILE */
xmlBufferPtr outputBuffer; /* if using XML_SCHEMATRON_OUT_BUFFER */
+#ifdef LIBXML_OUTPUT_ENABLED
xmlOutputWriteCallback iowrite; /* if using XML_SCHEMATRON_OUT_IO */
xmlOutputCloseCallback ioclose;
+#endif
void *ioctx;
/* error reporting data */