summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--process.c4
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 */