From 9a48b8e4196d23529e28f6965ad7a03d543922a2 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Mon, 21 Mar 2011 14:45:35 -0700 Subject: [PATCH] Return back EAI_ADDRFAMILY definition needed for libnl-2.0 Change-Id: I86e6ca8ad92da7a81ea4b659dd9fc9be2d6fd3c9 Signed-off-by: Dmitry Shmidt --- libc/include/netdb.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/libc/include/netdb.h b/libc/include/netdb.h index c2e08ea87..eb2d99f48 100644 --- a/libc/include/netdb.h +++ b/libc/include/netdb.h @@ -137,10 +137,7 @@ struct addrinfo { /* * Error return codes from getaddrinfo() */ -#if 0 -/* obsoleted */ #define EAI_ADDRFAMILY 1 /* address family for hostname not supported */ -#endif #define EAI_AGAIN 2 /* temporary failure in name resolution */ #define EAI_BADFLAGS 3 /* invalid value for ai_flags */ #define EAI_FAIL 4 /* non-recoverable failure in name resolution */