diff options
-rw-r--r-- | contrib/seg/segparse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/seg/segparse.y b/contrib/seg/segparse.y index d8de4120811..ece8ba2b27a 100644 --- a/contrib/seg/segparse.y +++ b/contrib/seg/segparse.y @@ -3,6 +3,7 @@ #include "postgres.h" +#include <errno.h> #include <math.h> #include "segdata.h" @@ -14,7 +15,6 @@ #undef yylex /* falure to redefine yylex will result in calling the */ #define yylex seg_yylex /* wrong scanner when running inside postgres backend */ - extern int errno; extern int yylex(); /* defined as seg_yylex in segscan.c */ extern int significant_digits( char *str ); /* defined in seg.c */ |