Fix build with -fno-common.

This commit is contained in:
Cy Schubert 2020-08-24 05:37:50 +00:00
parent dae3bf686b
commit 231a7ba9e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546044

View File

@ -0,0 +1,11 @@
--- holiday.c.orig 2005-05-17 13:22:27.000000000 -0700
+++ holiday.c 2020-08-23 22:19:14.336458000 -0700
@@ -50,7 +50,7 @@
extern int yyparse(void);
-#if defined(bsdi)||defined(linux)||defined(__NetBSD__)||defined(__FreeBSD__)||defined(HPGCC)||defined(__EMX__)||defined(__OpenBSD__)||defined(MACOSX)
+#if defined(bsdi)||defined(linux)||defined(__NetBSD__)||defined(HPGCC)||defined(__EMX__)||defined(__OpenBSD__)||defined(MACOSX)
int yylineno;
#else
extern int yylineno; /* current line # being parsed */