diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-10-02 21:01:35 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-10-02 21:01:35 +0000 |
commit | e41835b4b2fe03d8a1997bd8e8eabab2a94bccd5 (patch) | |
tree | cbbd4ea29324aec21472e63f5f50ca6480d60e35 | |
parent | 4683f28f0c9d1a1ee0338a32011219ed1fb3c565 (diff) |
//bugs.freedesktop.org/show_bug.cgi?id=4256> Patch #3046
<https://bugs.freedesktop.org/attachment.cgi?id=3046> Define
MAXHOSTNAMELEN if platform doesn't (Michael Banck)
-rw-r--r-- | Xtranssock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Xtranssock.c b/Xtranssock.c index 82d8255..93ecc45 100644 --- a/Xtranssock.c +++ b/Xtranssock.c @@ -277,6 +277,10 @@ static int TRANS(SocketINETClose) (XtransConnInfo ciptr); #define PORTBUFSIZE 32 +#ifndef MAXHOSTNAMELEN +#define MAXHOSTNAMELEN 255 +#endif + /* * This provides compatibility for apps linked against system libraries * that don't have IPv6 support. |