Fixes for the MSC build
[gpgme.git] / src / ath.h
index 424e3456bac22794dd38e1013b289ab784462b72..9ada5502bb39b00eaa1a5cd4b7d8228029fb6d55 100644 (file)
--- a/src/ath.h
+++ b/src/ath.h
@@ -28,6 +28,9 @@
   /* fixme: Check how we did it in libgcrypt.  */
   struct msghdr { int dummy; };
   typedef int socklen_t;
+# if defined(HAVE_W32CE_SYSTEM) && defined(_MSC_VER)
+#  include <winsock2.h>
+# endif
 # include <windows.h>
 # include <io.h>