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:
Jon TURNEY 2015-03-20 14:29:58 +00:00
parent 5bf3e5c832
commit 2b114d6a51

View File

@ -16,6 +16,10 @@ is" without express or implied warranty.
#include <xnest-config.h> #include <xnest-config.h>
#endif #endif
#ifdef WIN32
#include <X11/Xwindows.h>
#endif
#include <X11/X.h> #include <X11/X.h>
#include <X11/Xproto.h> #include <X11/Xproto.h>
#include <xcb/xcb_keysyms.h> #include <xcb/xcb_keysyms.h>