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.
This commit is contained in:
delthas 2020-04-19 05:43:27 +02:00 committed by Patrick
parent 082f2f8ceb
commit 5d5838e712

View File

@ -54,7 +54,7 @@
#include "gtkutil.h"
#ifdef G_OS_WIN32
#include <winuser.h>
#include <windows.h>
#endif
#define GUI_SPACING (3)