postgres.git / summary / log / commit / refs

commit    24ede218a1cdc540302503a175fbbcd7e68ad188
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Sat Jul 16 15:23:37 2005 +0000
First released in: 7.3.11, 7.4.9

    Fix bogus "extern int errno;" in back branches, per Andrew Dunstan.


contrib/seg/segparse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ [parent: f3d95f3c7faf]