util windows.h: include winsock2.h before windows.h

That seems to be the right way to do it ...
This commit is contained in:
Mads Kiilerich 2012-03-21 23:15:46 +01:00
parent 2d68abd97d
commit 528422b1fa

View File

@ -28,8 +28,8 @@
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#endif #endif
#include <windows.h>
#include <winsock2.h> #include <winsock2.h>
#include <windows.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
#endif #endif