diff options
Diffstat (limited to 'recipes/xorg-lib/xorg-headers-native/X11/Xwinsock.h')
-rw-r--r-- | recipes/xorg-lib/xorg-headers-native/X11/Xwinsock.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/recipes/xorg-lib/xorg-headers-native/X11/Xwinsock.h b/recipes/xorg-lib/xorg-headers-native/X11/Xwinsock.h index 0278c09b78..e6ca7b54b3 100644 --- a/recipes/xorg-lib/xorg-headers-native/X11/Xwinsock.h +++ b/recipes/xorg-lib/xorg-headers-native/X11/Xwinsock.h @@ -1,4 +1,3 @@ -/* $Xorg: Xwinsock.h,v 1.4 2001/02/09 02:03:23 xorgcvs Exp $ */ /* Copyright 1996, 1998 The Open Group @@ -36,8 +35,8 @@ The Open Group. #undef _XFree86Server #ifdef XFree86Server -#define _XFree86Server -#undef XFree86Server +# define _XFree86Server +# undef XFree86Server #endif #define BOOL wBOOL @@ -47,7 +46,7 @@ The Open Group. #define ATOM wATOM #define BYTE wBYTE #define FreeResource wFreeResource -#include <winsock.h> +#include <winsock2.h> #undef Status #define Status int #undef BYTE @@ -60,7 +59,7 @@ The Open Group. #undef RT_CURSOR #ifdef _XFree86Server -#define XFree86Server -#undef _XFree86Server +# define XFree86Server +# undef _XFree86Server #endif |