[evolution-data-server/mmeeks-gdbus-import] [win32] Use on windows the right includes



commit 9d678de1c62a808564229b8b592ee8bceec5f75e
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]