summaryrefslogtreecommitdiff
path: root/x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch
blob: 1ca0db04856655c19d060d817fb2ea88565b8380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/resources.h
+++ b/resources.h
@@ -19,7 +19,7 @@
 # define PROGRAM_NAME "xvkbd"
 #endif
 
-struct appres_struct {
+extern struct appres_struct {
   String description;
   String show_manual_command;
 
--- a/xvkbd.c
+++ b/xvkbd.c
@@ -500,6 +500,8 @@
 
 static Pixmap xvkbd_pixmap = None;
 
+struct appres_struct appres;
+
 static int AddKeysym(KeySym keysym, Boolean top);  /* forward */
 static void MakeKeyboard(Boolean remake);
 static void MakeKeypad(Widget form, Widget from_vert, Widget from_horiz);