From: Tom Lane Date: Sat, 16 Jul 2005 15:23:37 +0000 (+0000) Subject: Fix bogus "extern int errno;" in back branches, per Andrew Dunstan. X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=c504a8bf259dc6494cf2a7f5a6b121f0dbadb5ae;p=users%2Fbernd%2Fpostgres.git Fix bogus "extern int errno;" in back branches, per Andrew Dunstan. --- diff --git a/contrib/seg/segparse.y b/contrib/seg/segparse.y index 67f5b9f43d..8a8b37b2b4 100644 --- a/contrib/seg/segparse.y +++ b/contrib/seg/segparse.y @@ -3,6 +3,7 @@ #include "postgres.h" +#include #include #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 */