diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-03-17 13:38:21 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-03-17 13:38:21 +0100 |
commit | 2f744170d420101a3167ba9f505eebcc7452a11a (patch) | |
tree | bef631509f44011a67d4c1f518fbd4ff53203bec /common/network/TcpSocket.cxx | |
parent | a3f61946013b03518002c25e2b52129d9f897651 (diff) | |
download | tigervnc-2f744170d420101a3167ba9f505eebcc7452a11a.tar.gz tigervnc-2f744170d420101a3167ba9f505eebcc7452a11a.zip |
Make sure socket errno defines are available for Win32
Diffstat (limited to 'common/network/TcpSocket.cxx')
-rw-r--r-- | common/network/TcpSocket.cxx | 4 |
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 |