ndk: minor header update

<net/ethernet.h>: new header
<netdb.h>: add EAI_ADDRFAMILY definition
This commit is contained in:
David 'Digit' Turner
2012-01-09 13:54:08 +01:00
committed by Andrew Hsieh
parent 61e72dbc24
commit 1fe0de682b
2 changed files with 32 additions and 3 deletions

View File

@@ -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 */