summaryrefslogtreecommitdiff
path: root/xmllint.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmllint.c')
-rw-r--r--xmllint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmllint.c b/xmllint.c
index ab088809..dbed44f8 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -2342,7 +2342,7 @@ main(int argc, char **argv) {
#endif /* LIBXML_SCHEMAS_ENABLED */
#ifdef LIBXML_PATTERN_ENABLED
if ((pattern != NULL)
-#ifdef LIBXML_WALKER_ENABLED
+#ifdef LIBXML_READER_ENABLED
&& (walker == 0)
#endif
) {