From a6f97409e8968c69e3b74bcc5425cafb2de46955 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 17 Mar 2015 13:42:06 +0100 Subject: [PATCH] Fix proper socket headers for Win32 --- common/network/TcpSocket.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/network/TcpSocket.h b/common/network/TcpSocket.h index bb55e7d2..bc2a17de 100644 --- a/common/network/TcpSocket.h +++ b/common/network/TcpSocket.h @@ -33,8 +33,14 @@ #endif #include + +#ifdef WIN32 +#include +#include +#else #include /* for socklen_t */ #include /* for struct sockaddr_in */ +#endif #include -- 2.39.5