From 2f744170d420101a3167ba9f505eebcc7452a11a Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 17 Mar 2015 13:38:21 +0100 Subject: Make sure socket errno defines are available for Win32 --- common/network/TcpSocket.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common') diff --git a/common/network/TcpSocket.cxx b/common/network/TcpSocket.cxx index 47c2a048..51989e49 100644 --- a/common/network/TcpSocket.cxx +++ b/common/network/TcpSocket.cxx @@ -46,6 +46,10 @@ #include #include +#ifdef WIN32 +#include +#endif + #ifndef INADDR_NONE #define INADDR_NONE ((unsigned long)-1) #endif -- cgit v1.2.3