diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-03-08 13:05:27 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-03-08 13:05:27 +0000 |
commit | 0153e23facf7c694bfaf17d60b092982e37ef633 (patch) | |
tree | 74e64ce7368776f8823927ba65ab74aa55522081 /common/network | |
parent | e1fd8e15f9d66fbc1efb7071cb32204f150be18d (diff) | |
download | tigervnc-0153e23facf7c694bfaf17d60b092982e37ef633.tar.gz tigervnc-0153e23facf7c694bfaf17d60b092982e37ef633.zip |
Windows actually has socklen_t, it's just that it is in a special header.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4327 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/network')
-rw-r--r-- | common/network/TcpSocket.cxx | 1 |
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 |