From: Peter Åstrand Date: Tue, 2 Dec 2008 08:33:00 +0000 (+0000) Subject: Define VNC_SOCKLEN_T if not defined - needed for Visual Studio build. X-Git-Tag: v0.0.90~356 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ddfa1a1a74c7018637a8e0c6169de12554dc7eab;p=tigervnc.git Define VNC_SOCKLEN_T if not defined - needed for Visual Studio build. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3279 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/common/network/TcpSocket.cxx b/common/network/TcpSocket.cxx index 4b9da3bc..a45e535b 100644 --- a/common/network/TcpSocket.cxx +++ b/common/network/TcpSocket.cxx @@ -25,6 +25,9 @@ #include #define errorNumber WSAGetLastError() #define snprintf _snprintf +#ifndef VNC_SOCKLEN_T +#define VNC_SOCKLEN_T int +#endif #else #define errorNumber errno #define closesocket close