[PATCH app/xauth] Include Xwinsock.h rather than sys/socket.h on WIN32
Jon TURNEY
jon.turney at dronecode.org.uk
Mon Oct 29 06:38:56 PDT 2012
For AF_INET6, include Xwinsock.h rather than sys/socket.h on WIN32
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
process.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/process.c b/process.c
index 283b4a1..75091b4 100644
--- a/process.c
+++ b/process.c
@@ -38,7 +38,11 @@ from The Open Group.
#include <ctype.h>
#include <errno.h>
#include <sys/stat.h>
+#ifndef WIN32
#include <sys/socket.h>
+#else
+#include <X11/Xwinsock.h>
+#endif
#include <signal.h>
#include <X11/X.h> /* for Family constants */
--
1.7.9
More information about the xorg-devel
mailing list