diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-03-17 13:38:59 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-03-17 13:38:59 +0100 |
commit | a6570c5da35b036df93da9f19182b4a4d9e8e6cc (patch) | |
tree | 2b9599110df101b2364ba6cd8be2353af547b3ae /common | |
parent | 2f744170d420101a3167ba9f505eebcc7452a11a (diff) | |
download | tigervnc-a6570c5da35b036df93da9f19182b4a4d9e8e6cc.tar.gz tigervnc-a6570c5da35b036df93da9f19182b4a4d9e8e6cc.zip |
AI_NUMERICSERV is not available on some systems
Diffstat (limited to 'common')
-rw-r--r-- | common/network/TcpSocket.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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; |