summary refs log tree commit diff stats
diff options
context:
space:
mode:
authordelthas <1863865+delthas@users.noreply.github.com>2020-04-19 05:43:27 +0200
committerPatrick <tingping@tingping.se>2020-04-19 03:02:29 -0700
commit5d5838e71247e43b6e8db306055d8f93326ef86b (patch)
treeca8b2b8bcf249bd79a2bf0fd5f3afecc72d02894
parent082f2f8cebde50fa7e02763e6f0f6c07fbd0dbe3 (diff)
win32: Replace include of winuser.h with windows.h
winuser.h should never be included directly. windows.h should be included instead.

This fixes a critical build issue added in c5d47fc which makes all MinGW builds fail.

See #2403.
-rw-r--r--src/fe-gtk/maingui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c
index 604ad3c8..335522a0 100644
--- a/src/fe-gtk/maingui.c
+++ b/src/fe-gtk/maingui.c
@@ -54,7 +54,7 @@
 #include "gtkutil.h"
 
 #ifdef G_OS_WIN32
-#include <winuser.h>
+#include <windows.h>
 #endif
 
 #define GUI_SPACING (3)