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