ports/irc/scrollz/files/patch-a8b05aab
Niclas Zeising c03f82ecb9 irc/scrollz: Fix build with -fno-common
Fix the build of irc/scrolls with built with -fno-common, which is the
default with llvm 11.
Patch from a pull request to scrollz on github.

MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)
2020-08-22 14:17:09 +00:00

16 lines
509 B
Text

diff --git a/include/ircterm.h b/include/ircterm.h
index 1fdbfeb..1da3fab 100644
--- include/ircterm.h
+++ include/ircterm.h
@@ -89,9 +89,9 @@ extern char *CM,
extern int SG;
/**************************** PATCHED by Flier ******************************/
#ifdef WANTANSI
-char *SETAF,
+extern char *SETAF,
*SETAB;
-int NUMCOLORS;
+extern int NUMCOLORS;
#endif /* WANTANSI */
/****************************************************************************/