Commit 55e0ebe332cdbb05834c550e04ce2ebd4ddd303b

Con Kolivas 2014-04-14T21:25:40

Shuffle windows headers included

diff --git a/util.c b/util.c
index 5d9d542..65692f2 100644
--- a/util.c
+++ b/util.c
@@ -33,7 +33,6 @@
 # include <netinet/tcp.h>
 # include <netdb.h>
 #else
-# include <windows.h>
 # include <winsock2.h>
 # include <ws2tcpip.h>
 # include <mmsystem.h>
diff --git a/util.h b/util.h
index a17df1f..e9edae1 100644
--- a/util.h
+++ b/util.h
@@ -29,8 +29,8 @@
 		return (errno == EINTR);
 	}
 #elif defined WIN32
-	#include <ws2tcpip.h>
 	#include <winsock2.h>
+	#include <ws2tcpip.h>
 
 	#define SOCKETTYPE SOCKET
 	#define SOCKETFAIL(a) ((int)(a) == SOCKET_ERROR)