summaryrefslogtreecommitdiffstats
path: root/common/network/TcpSocket.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/network/TcpSocket.cxx')
-rw-r--r--common/network/TcpSocket.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/network/TcpSocket.cxx b/common/network/TcpSocket.cxx
index 04e08950..7e115881 100644
--- a/common/network/TcpSocket.cxx
+++ b/common/network/TcpSocket.cxx
@@ -23,6 +23,7 @@
#ifdef WIN32
//#include <io.h>
#include <winsock2.h>
+#include <ws2tcpip.h>
#define errorNumber WSAGetLastError()
#else
#define errorNumber errno