summaryrefslogtreecommitdiff
path: root/contrib/tsearch/query.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-11-01 22:52:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-11-01 22:52:34 +0000
commitcab9437a43db6b233e2308aeb71a0b3bac600410 (patch)
tree280ba825388918ace298e05f4d306b9cf71847ae /contrib/tsearch/query.c
parent1e970dcee821fbf6b1fa2aa64765ca762e0491f7 (diff)
downloadpostgresql-cab9437a43db6b233e2308aeb71a0b3bac600410.tar.gz
Arrange to compile flex output files as inclusions into other files
(usually bison output files), not as standalone files. This hack works around flex's insistence on including <stdio.h> before we are able to include postgres.h; postgres.h will already be read before the compiler starts to read the flex output file. Needed for largefile support on some platforms.
Diffstat (limited to 'contrib/tsearch/query.c')
-rw-r--r--contrib/tsearch/query.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/tsearch/query.c b/contrib/tsearch/query.c
index b69151c879..9d5e126c5b 100644
--- a/contrib/tsearch/query.c
+++ b/contrib/tsearch/query.c
@@ -805,3 +805,5 @@ querytree(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(res);
}
+
+#include "parser.c"