diff options
author | Egbert Eich <eich@suse.de> | 2004-01-29 08:09:01 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-01-29 08:09:01 +0000 |
commit | 9aa9842a364e2e085cceb1746b1255a199de277d (patch) | |
tree | 7a612493c535aac344d020e81b1048e20b7ff758 | |
parent | 8bd397d564d45e4121d958f2faa6116e2be4fa64 (diff) |
Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004xf86-4_3_99_903_specialxf86-012804-2330
-rw-r--r-- | di/pm.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 <ctype.h> #include <stdio.h> @@ -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) { |