aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-ce.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32-ce.h')
-rw-r--r--src/w32-ce.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/w32-ce.h b/src/w32-ce.h
index 2b761d65..bcd5344c 100644
--- a/src/w32-ce.h
+++ b/src/w32-ce.h
@@ -24,8 +24,12 @@
#include <time.h>
#include <stdarg.h>
-/* For getaddrinfo. */
-#define _MSV_VER 0x401
+#ifdef _MSC_VER
+typedef int pid_t;
+#endif
+
+#include <winsock2.h>
+#include <ws2tcpip.h> /* For getaddrinfo. */
#include <windows.h>