add timeval structure declaration for vc++
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 17 Dec 2010 10:18:56 +0000 (10:18 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 17 Dec 2010 10:18:56 +0000 (10:18 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/embryo@55608 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/embryo_time.c

index 3b7b91d..8392ec3 100644 (file)
@@ -9,6 +9,10 @@
 #include <sys/time.h>
 #include <time.h>
 
+#ifdef _MSC_VER
+# include <winsock2.h>
+#endif
+
 #ifdef HAVE_EVIL
 # include <Evil.h>
 #endif