From 3803ae6493d3e43dba074ae7e6fe8c3ac30c5f4e Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sun, 30 Jun 2013 16:02:34 +0200 Subject: [PATCH] wmaker: Replaced local 'extern' definition by proper header include It is dangerous to define an extern variable locally because the compiler is not able to ensure proper type definition, but including the header that defines it allows a safer situation. Signed-off-by: Christophe CURIS --- src/xmodifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmodifier.c b/src/xmodifier.c index 30f5a881..e114f650 100644 --- a/src/xmodifier.c +++ b/src/xmodifier.c @@ -36,9 +36,9 @@ Perpetrator: Sudish Joseph , Sept. 1997. */ #include #include +#include "WindowMaker.h" #include "xmodifier.h" -extern Display *dpy; /************************************************************************/ /* keymap handling */ -- 2.11.4.GIT