diff -Naur libdockapp-0.7.2.orig/src/wmgeneral.c libdockapp-0.7.2/src/wmgeneral.c
--- libdockapp-0.7.2.orig/src/wmgeneral.c	2015-10-27 10:32:25.000000000 +0100
+++ libdockapp-0.7.2/src/wmgeneral.c	2020-03-29 17:12:56.648083089 +0200
@@ -85,6 +85,7 @@
 GC			NormalGC;
 XpmIcon		wmgen;
 Pixmap		pixmask;
+Display		*display;
 
   /*****************/
  /* Mouse Regions */
diff -Naur libdockapp-0.7.2.orig/src/wmgeneral.h libdockapp-0.7.2/src/wmgeneral.h
--- libdockapp-0.7.2.orig/src/wmgeneral.h	2015-10-27 10:32:25.000000000 +0100
+++ libdockapp-0.7.2/src/wmgeneral.h	2020-03-29 17:12:41.411042265 +0200
@@ -66,7 +66,7 @@
  /* Global variable */
 /*******************/
 
-Display		*display;
+extern Display		*display;
 
   /***********************/
  /* Function Prototypes */
