+ small fix for MSVC10

This commit is contained in:
kelson42 2012-11-18 16:50:30 +00:00
parent 1bb0a33dd0
commit 449d6ca472

View File

@ -29,6 +29,9 @@
#include <WS2tcpip.h> // otherwise socklen_t is not a recognized type #include <WS2tcpip.h> // otherwise socklen_t is not a recognized type
#if (_MSC_VER < 1600) #if (_MSC_VER < 1600)
#include "stdint4win.h" #include "stdint4win.h"
#else
typedef unsigned __int64 uint64_t;
typedef unsigned __int16 uint16_t;
#endif #endif
#include <winsock2.h> #include <winsock2.h>
#include <Windows.h> // otherwise int is not a recognized type #include <Windows.h> // otherwise int is not a recognized type