From: Enlightenment S. <no-...@en...> - 2009-02-19 20:17:19
|
Log: Include winsock2.h before time.h. Requested by vc++ Author: caro Date: 2009-02-19 12:17:14 -0800 (Thu, 19 Feb 2009) New Revision: 39102 Modified: trunk/eet/src/lib/eet_lib.c Modified: trunk/eet/src/lib/eet_lib.c =================================================================== --- trunk/eet/src/lib/eet_lib.c 2009-02-19 20:10:43 UTC (rev 39101) +++ trunk/eet/src/lib/eet_lib.c 2009-02-19 20:17:14 UTC (rev 39102) @@ -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 @@ # include <netinet/in.h> #endif -#if defined(_WIN32) && ! defined(__CEGCC__) -# include <winsock2.h> -#endif - #ifdef HAVE_EVIL # include <Evil.h> #endif |