From e41835b4b2fe03d8a1997bd8e8eabab2a94bccd5 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 2 Oct 2005 21:01:35 +0000 Subject: //bugs.freedesktop.org/show_bug.cgi?id=4256> Patch #3046 Define MAXHOSTNAMELEN if platform doesn't (Michael Banck) --- Xtranssock.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Xtranssock.c') 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. -- cgit v1.2.3