From 52c9d259335c9670f6487c5f40fc53b57a4c7b17 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 5 Sep 2002 00:43:07 +0000 Subject: 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. --- contrib/cube/cubeparse.y | 4 ++-- contrib/cube/cubescan.l | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'contrib/cube') diff --git a/contrib/cube/cubeparse.y b/contrib/cube/cubeparse.y index 887528eb03d..6aba226c70b 100644 --- a/contrib/cube/cubeparse.y +++ b/contrib/cube/cubeparse.y @@ -7,11 +7,11 @@ #define YYSTYPE char * #define YYDEBUG 1 -#include +#include "postgres.h" + #include "cubedata.h" #include "buffer.h" -#include "postgres.h" #include "utils/palloc.h" #include "utils/elog.h" diff --git a/contrib/cube/cubescan.l b/contrib/cube/cubescan.l index d160937c2f7..6fc51e81142 100644 --- a/contrib/cube/cubescan.l +++ b/contrib/cube/cubescan.l @@ -6,7 +6,8 @@ #define YYSTYPE char * #define yylval cube_yylval -#include +#include "postgres.h" + #include "cubeparse.h" #include "buffer.h" -- cgit v1.2.3