summaryrefslogtreecommitdiff
path: root/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-gcc-10.patch
blob: 5beb4155256232528496a7132facdfd90841a3ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/wmgeneral/wmgeneral.c
+++ b/wmgeneral/wmgeneral.c
@@ -45,6 +45,7 @@ Window		iconwin, win;
 GC			NormalGC;
 XpmIcon		wmgen;
 Pixmap		pixmask;
+Display		*display;
 
   /*****************/
  /* Mouse Regions */
--- a/wmgeneral/wmgeneral.h
+++ b/wmgeneral/wmgeneral.h
@@ -21,7 +21,7 @@ typedef struct {
  /* Global variable */
 /*******************/
 
-Display		*display;
+extern Display		*display;
 
   /***********************/
  /* Function Prototypes */