mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-25 12:00:41 +02: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>
This commit is contained in:
parent
5bf3e5c832
commit
2b114d6a51
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