mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 20:40:04 +01:00
hw/xnest: Fix build for MinGW
Include the wrapped windows.h via X11/Xwindows.h before xcb_keysyms.h to avoid
type clashes caused by the unwrapped windows.h that includes.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
(cherry picked from commit 2b114d6a51)
This commit is contained in:
parent
36bba39db1
commit
cc88bb64ad
1 changed files with 4 additions and 0 deletions
|
|
@ -16,6 +16,10 @@ is" without express or implied warranty.
|
|||
#include <xnest-config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include <X11/Xwindows.h>
|
||||
#endif
|
||||
|
||||
#include <X11/X.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <xcb/xcb_keysyms.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue