[evolution-data-server] [win32] Use on windows the right includes



commit b876171f8edc888651dd029b3c419342e42e3c47
Author: Fridrich Strba <fridrich strba bluewin ch>
Date:   Wed Mar 3 22:05:08 2010 +0100

    [win32] Use on windows the right includes

 camel/providers/imapx/camel-imapx-store.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-store.c b/camel/providers/imapx/camel-imapx-store.c
index 26d88ef..c3f6649 100644
--- a/camel/providers/imapx/camel-imapx-store.c
+++ b/camel/providers/imapx/camel-imapx-store.c
@@ -26,8 +26,12 @@
 #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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]