compile fix for visual studio

This commit is contained in:
Miodrag Milanovic 2015-03-14 09:02:25 +01:00
parent df7ad13680
commit af892c9726

View File

@ -80,6 +80,8 @@
#ifdef _WIN32
#ifdef _MSC_VER
#pragma comment(lib, "ws2_32.lib") // Linking with winsock library
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
#include <winsock2.h>
#include <ws2tcpip.h>