summaryrefslogtreecommitdiff
path: root/contrib/seg/segscan.l
diff options
context:
space:
mode:
authorTom Lane2002-09-05 00:43:07 +0000
committerTom Lane2002-09-05 00:43:07 +0000
commit52c9d259335c9670f6487c5f40fc53b57a4c7b17 (patch)
tree721b585843dca83ac9517ca933fa891c4532a530 /contrib/seg/segscan.l
parent3f63787cbfe0f1e837c92cd8ac35fd7ab811c18b (diff)
Be careful to include postgres.h *before* any system headers, to ensure
that the right flavors of largefile-related definitions are seen. Most of these changes are probably unnecessary, but better safe than sorry.
Diffstat (limited to 'contrib/seg/segscan.l')
-rw-r--r--contrib/seg/segscan.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/seg/segscan.l b/contrib/seg/segscan.l
index 787fe28843c..271168d9f16 100644
--- a/contrib/seg/segscan.l
+++ b/contrib/seg/segscan.l
@@ -3,8 +3,8 @@
** A scanner for EMP-style numeric ranges
*/
-#include <string.h>
-#include <stdio.h>
+#include "postgres.h"
+
#include "segparse.h"
#include "buffer.h"