Commit 17fa8e4f authored by Youness Alaoui's avatar Youness Alaoui

include ws2tcpip.h where needed

parent 56b474c3
......@@ -41,6 +41,7 @@
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
......
......@@ -45,7 +45,7 @@
#ifdef _WIN32
#include <winsock2.h>
typedef size_t socklen_t;
#include <ws2tcpip.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
......
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