ports/misc/wmScoreBoard/files/patch-xutils.h
Fernando Apesteguía 4d4c08ea1c misc/wmScoreBoard: fix build with -fcommon
PR:		267614
Reported by:	fuz@fuz.su (maintainer)
MFH:		2022Q4 (build fix)
2022-11-09 14:12:40 +01:00

19 lines
395 B
C

--- xutils.h.orig 2022-11-07 09:20:05 UTC
+++ xutils.h
@@ -15,11 +15,11 @@ typedef struct {
* Global variables
*/
-Display *display;
-Window Root;
-Window iconwin, win;
-int screen;
-int DisplayDepth;
+extern Display *display;
+extern Window Root;
+extern Window iconwin, win;
+extern int screen;
+extern int DisplayDepth;
/*
* Function Prototypes