mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-23 23:30:02 +00:00
os: ospoll: include winsock2.h on WIN32 instead of misc.h
On WIN32 we need to include winsock2.h, but we can't include misc.h here becaues it pulling in X11 headers that are conflicting with win32 headers. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -27,10 +27,13 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
#include "include/fd_notify.h"
|
||||
#include "os/xserver_poll.h"
|
||||
|
||||
#include "misc.h" /* for typedef of pointer */
|
||||
#include "ospoll.h"
|
||||
#include "list.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user