Ticket #1726 (AI_ADDRCONFIG fix)

fixed undeclared AI_ADDRCONFIG under uclibc <0.9.29

Signed-off-by: Ilia Maslakov <il.smind@google.com>
This commit is contained in:
Ilia Maslakov 2009-10-18 07:50:22 +00:00
parent a1f9ceb99e
commit 91be46a861

View File

@ -109,6 +109,11 @@ What to do with this?
#define INADDR_NONE 0xffffffff
#endif
/* for uclibc < 0.9.29 */
#ifndef AI_ADDRCONFIG
#define AI_ADDRCONFIG 0x0020
#endif
#define RFC_AUTODETECT 0
#define RFC_DARING 1
#define RFC_STRICT 2