summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorZach Bacon <zachbacon@vba-m.com>2019-12-16 03:42:31 -0500
committerPatrick <tingping@tingping.se>2019-12-16 00:42:31 -0800
commitd9809f27873a54fb71b6d7366401e848dc3ac2b3 (patch)
tree44e51c7a36a971bf4e0017ee185913b23bb70a6e /src/fe-gtk
parentea2f298a1ad21e0456dedb0190db051cb56bf38e (diff)
Add missing winuser.h include for mingw (#2403)
Without the include gcc will complain about WM_TIMECHANGE as undeclared.
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/maingui.c4
1 files changed, 4 insertions, 0 deletions
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 <winuser.h>
+#endif
+
 #define GUI_SPACING (3)
 #define GUI_BORDER (0)