[win32] Use on windows the right includes
authorFridrich Strba <fridrich.strba@bluewin.ch>
Wed, 3 Mar 2010 21:05:08 +0000 (22:05 +0100)
committerFridrich Strba <fridrich.strba@bluewin.ch>
Wed, 3 Mar 2010 21:05:08 +0000 (22:05 +0100)
camel/providers/imapx/camel-imapx-store.c

index 26d88ef..c3f6649 100644 (file)
 #endif
 
 #include <sys/types.h>
+#ifdef _WIN32
+#include <winsock2.h>
+#else
 #include <sys/socket.h>
 #include <netinet/in.h>
+#endif
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>