--- lib/xtrans/Xtranssock.c.origin 2008-09-29 21:07:46.000000000 +0200 +++ lib/xtrans/Xtranssock.c 2008-09-29 21:40:00.000000000 +0200 @@ -284,6 +284,8 @@ #ifndef __USLC__ #pragma weak getaddrinfo #endif +#else +#define MAXHOSTNAMELEN 256 #endif static int haveIPv6 = 1; #endif