23 lines
422 B
Text
23 lines
422 B
Text
|
Fix -fno-common build failure
|
||
|
|
||
|
Index: Src/xutils.h
|
||
|
--- Src/xutils.h.orig
|
||
|
+++ Src/xutils.h
|
||
|
@@ -18,11 +18,11 @@ typedef struct {
|
||
|
/*
|
||
|
* Global variable
|
||
|
*/
|
||
|
-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;
|
||
|
|
||
|
|
||
|
|