From 9aa9842a364e2e085cceb1746b1255a199de277d Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 29 Jan 2004 08:09:01 +0000 Subject: Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 --- di/pm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/di/pm.c b/di/pm.c index 46911ae..736c678 100644 --- a/di/pm.c +++ b/di/pm.c @@ -24,7 +24,7 @@ not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ -/* $XFree86: xc/programs/lbxproxy/di/pm.c,v 1.14 2003/09/13 21:33:10 dawes Exp $ */ +/* $XFree86: xc/programs/lbxproxy/di/pm.c,v 1.15 2004/01/07 04:28:06 dawes Exp $ */ #include #include @@ -441,7 +441,9 @@ PMprocessMessages (iceConn, clientData, opcode, length, (void)memset(&hints, 0, sizeof(hints)); hints.ai_flags = AI_CANONNAME; if (bracketed == True) { +#ifdef AI_NUMERICHOST hints.ai_flags |= AI_NUMERICHOST; +#endif addrtype = AF_INET6; } else if (protocol != NULL) { if (strcmp(protocol, "inet") == 0) { -- cgit v1.2.3