From: Christophe CURIS <[email protected]> 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 <[email protected]> --- src/xmodifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmodifier.c b/src/xmodifier.c index 30f5a88..e114f65 100644 --- a/src/xmodifier.c +++ b/src/xmodifier.c @@ -36,9 +36,9 @@ Perpetrator: Sudish Joseph <[email protected]>, Sept. 1997. */ #include <X11/XKBlib.h> #include <WINGs/WUtil.h> +#include "WindowMaker.h" #include "xmodifier.h" -extern Display *dpy; /************************************************************************/ /* keymap handling */ -- 1.7.10.4 -- To unsubscribe, send mail to [email protected].
