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 67f5b9f43dd..8a8b37b2b40 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 "utils/elog.h" @@ -17,7 +18,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 */ |