From e703d7229f0bccbf0c9e55ac20724edec7ea60d4 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Tue, 20 Aug 2002 11:55:04 +0000 Subject: [PATCH] AI_NUMERICHOST needs special handling git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11154 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken-common.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/roken/roken-common.h b/lib/roken/roken-common.h index a897a67aa..099f11314 100644 --- a/lib/roken/roken-common.h +++ b/lib/roken/roken-common.h @@ -191,13 +191,14 @@ /* flags for getaddrinfo() */ #ifndef AI_PASSIVE - #define AI_PASSIVE 0x01 #define AI_CANONNAME 0x02 -#define AI_NUMERICHOST 0x04 - #endif /* AI_PASSIVE */ +#ifndef AI_NUMERICHOST +#define AI_NUMERICHOST 0x04 +#endif + /* flags for getnameinfo() */ #ifndef NI_DGRAM