aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-ce.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-11-02 16:27:46 +0000
committerWerner Koch <[email protected]>2010-11-02 16:27:46 +0000
commit987993a38d12f6de052683711e673fa6bbbdae86 (patch)
treefd71f8e2a821a54a0f4c0b2243f5ad4c74683c97 /src/w32-ce.h
parent2010-10-28 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-987993a38d12f6de052683711e673fa6bbbdae86.tar.gz
gpgme-987993a38d12f6de052683711e673fa6bbbdae86.zip
First take on changes to allow building with MSC for W32CE.
Fixed regression in plain W32 build.
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>