From d9809f27873a54fb71b6d7366401e848dc3ac2b3 Mon Sep 17 00:00:00 2001 From: Zach Bacon Date: Mon, 16 Dec 2019 03:42:31 -0500 Subject: [PATCH] Add missing winuser.h include for mingw (#2403) Without the include gcc will complain about WM_TIMECHANGE as undeclared. --- src/fe-gtk/maingui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c index efeaaaeb..604ad3c8 100644 --- a/src/fe-gtk/maingui.c +++ b/src/fe-gtk/maingui.c @@ -53,6 +53,10 @@ #include "sexy-spell-entry.h" #include "gtkutil.h" +#ifdef G_OS_WIN32 +#include +#endif + #define GUI_SPACING (3) #define GUI_BORDER (0)