diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-10-27 18:10:30 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-11-05 22:55:39 +0000 |
commit | ea343d117b5dbb17fc753e08918f44f167207fa9 (patch) | |
tree | 0008bfbe6230320f062a045c5c2cf806dec6c543 /process.c | |
parent | 374c8c7005200c13299fdcb7b7d1b12f9f4258ae (diff) | |
download | xorg-app-xauth-ea343d117b5dbb17fc753e08918f44f167207fa9.tar.gz |
Include Xwinsock.h rather than sys/socket.h on WIN32
For AF_INET6, include Xwinsock.h rather than sys/socket.h on WIN32
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |