aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-17 13:38:21 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-17 13:38:21 +0100
commit2f744170d420101a3167ba9f505eebcc7452a11a (patch)
treebef631509f44011a67d4c1f518fbd4ff53203bec /common
parenta3f61946013b03518002c25e2b52129d9f897651 (diff)
downloadtigervnc-2f744170d420101a3167ba9f505eebcc7452a11a.tar.gz
tigervnc-2f744170d420101a3167ba9f505eebcc7452a11a.zip
Make sure socket errno defines are available for Win32
Diffstat (limited to 'common')
-rw-r--r--common/network/TcpSocket.cxx4
1 files changed, 4 insertions, 0 deletions
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 <rfb/LogWriter.h>
#include <rfb/Configuration.h>
+#ifdef WIN32
+#include <os/winerrno.h>
+#endif
+
#ifndef INADDR_NONE
#define INADDR_NONE ((unsigned long)-1)
#endif