diff --git a/lib/roken/gai_strerror.c b/lib/roken/gai_strerror.c index 9fe978024..d64391b11 100644 --- a/lib/roken/gai_strerror.c +++ b/lib/roken/gai_strerror.c @@ -43,7 +43,7 @@ static struct gai_error { char *str; } errors[] = { {EAI_NOERROR, "no error"}, -#ifndef EAI_ADDRFAMILY +#ifdef EAI_ADDRFAMILY {EAI_ADDRFAMILY, "address family for nodename not supported"}, #endif {EAI_AGAIN, "temporary failure in name resolution"},