mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
mingw32: fix winsock2.h include
winsock2.h needs to be included before windows.h > /usr/share/mingw-w64/include/winsock2.h:15:2: error: #warning Please include winsock2.h before windows.h [-Werror=cpp] > 15 | #warning Please include winsock2.h before windows.h > | ^~~~~~~ Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -14,6 +14,7 @@ is" without express or implied warranty.
|
||||
#include <dix-config.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <X11/Xwinsock.h>
|
||||
#include <X11/Xwindows.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,8 +39,6 @@
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <X11/Xwindows.h>
|
||||
#include <winsock2.h>
|
||||
#include <xcb/xcb.h>
|
||||
#include <xcb/xcb_icccm.h>
|
||||
#include <xcb/xcb_image.h>
|
||||
|
||||
Reference in New Issue
Block a user