summaryrefslogtreecommitdiff
path: root/contrib/tsearch2
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tsearch2')
-rw-r--r--contrib/tsearch2/wordparser/parser.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tsearch2/wordparser/parser.l b/contrib/tsearch2/wordparser/parser.l
index 179c99c9dac..a7cb4684c32 100644
--- a/contrib/tsearch2/wordparser/parser.l
+++ b/contrib/tsearch2/wordparser/parser.l
@@ -6,6 +6,7 @@
#include "common.h"
/* Avoid exit() on fatal scanner errors */
+#undef fprintf
#define fprintf(file, fmt, msg) ts_error(ERROR, fmt, msg)
char *token = NULL; /* pointer to token */