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

include ws2tcpip.h where needed

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