For AF_INET6, include Xwinsock.h rather than sys/socket.h on WIN32 Signed-off-by: Jon TURNEY <[email protected]> --- 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 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
