From: Pierre Ossman Date: Tue, 17 Mar 2015 12:38:59 +0000 (+0100) Subject: AI_NUMERICSERV is not available on some systems X-Git-Tag: v1.4.90~27^2~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a6570c5da35b036df93da9f19182b4a4d9e8e6cc;p=tigervnc.git AI_NUMERICSERV is not available on some systems --- diff --git a/common/network/TcpSocket.cxx b/common/network/TcpSocket.cxx index 51989e49..5ce7bc31 100644 --- a/common/network/TcpSocket.cxx +++ b/common/network/TcpSocket.cxx @@ -62,6 +62,11 @@ (memcmp ((const void*)(a), (const void*)(b), sizeof (struct in6_addr)) == 0) #endif +// Missing on older Windows and OS X +#ifndef AI_NUMERICSERV +#define AI_NUMERICSERV 0 +#endif + using namespace network; using namespace rdr;