Include winsock2.h before time.h. Requested by vc++
authorcaro <caro>
Thu, 19 Feb 2009 20:17:14 +0000 (20:17 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 19 Feb 2009 20:17:14 +0000 (20:17 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@39102 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eet_lib.c

index bbcb07d..fdd4910 100644 (file)
@@ -6,6 +6,10 @@
 # include <config.h>
 #endif
 
+#if defined(_WIN32) && ! defined(__CEGCC__)
+# include <winsock2.h>
+#endif
+
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #elif defined __GNUC__
@@ -43,10 +47,6 @@ void *alloca (size_t);
 # include <netinet/in.h>
 #endif
 
-#if defined(_WIN32) && ! defined(__CEGCC__)
-# include <winsock2.h>
-#endif
-
 #ifdef HAVE_EVIL
 # include <Evil.h>
 #endif