diff options
author | Zach Bacon <zachbacon@vba-m.com> | 2019-12-16 03:42:31 -0500 |
---|---|---|
committer | Patrick <tingping@tingping.se> | 2019-12-16 00:42:31 -0800 |
commit | d9809f27873a54fb71b6d7366401e848dc3ac2b3 (patch) | |
tree | 44e51c7a36a971bf4e0017ee185913b23bb70a6e /src | |
parent | ea2f298a1ad21e0456dedb0190db051cb56bf38e (diff) |
Add missing winuser.h include for mingw (#2403)
Without the include gcc will complain about WM_TIMECHANGE as undeclared.
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-gtk/maingui.c | 4 |
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) |