diff options
Diffstat (limited to 'X11/Xwinsock.h')
-rw-r--r-- | X11/Xwinsock.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/X11/Xwinsock.h b/X11/Xwinsock.h index e6ca7b54b..d5e7b7853 100644 --- a/X11/Xwinsock.h +++ b/X11/Xwinsock.h @@ -41,14 +41,17 @@ The Open Group. #define BOOL wBOOL #define INT32 wINT32 +#ifdef Status #undef Status +#endif #define Status wStatus #define ATOM wATOM #define BYTE wBYTE #define FreeResource wFreeResource #include <winsock2.h> +#include <ws2tcpip.h> #undef Status -#define Status int +typedef int Status; #undef BYTE #undef BOOL #undef INT32 |