Commit b6fde069 authored by Sergey Lyubka's avatar Sergey Lyubka

Merge pull request #486 from mmicko/master

Compile fix
parents 057c2d4b af892c97
......@@ -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>
......
......@@ -22,6 +22,7 @@
#include <stdio.h> // required for FILE
#include <stddef.h> // required for size_t
#include <sys/types.h> // required for time_t
#ifdef __cplusplus
extern "C" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment