10000 Fix bogus "extern int errno;" in back branches, per Andrew Dunstan. · larkly/postgres-docker@c969e30 · GitHub
[go: up one dir, main page]

Skip to content

Commit c969e30

Browse files
committed
Fix bogus "extern int errno;" in back branches, per Andrew Dunstan.
1 parent 91d381e commit c969e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/seg/segparse.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include <string.h>
66
#include <stdlib.h>
7+
#include <errno.h>
78
#include <math.h>
89
#include "segdata.h"
910
#include "buffer.h"
@@ -18,7 +19,6 @@
1819
#undef yylex /* falure to redefine yylex will result in calling the */
1920
#define yylex seg_yylex /* wrong scanner when running inside postgres backend */
2021

21-
extern int errno;
2222
extern int yylex(); /* defined as seg_yylex in segscan.c */
2323
extern int significant_digits( char *str ); /* defined in seg.c */
2424

0 commit comments

Comments
 (0)
0