$FreeWRT$ --- asterisk-1.2.15.orig/dns.c 2005-11-29 18:24:39.000000000 +0000 +++ asterisk-1.2.15/dns.c 2007-02-12 11:08:08.000000000 +0000 @@ -175,7 +175,13 @@ static int dns_parse_answer(void *contex #if defined(res_ninit) #define HAS_RES_NINIT -#else +#endif + +#ifdef __UCLIBC__ +#undef HAS_RES_NINIT +#endif + +#ifndef HAS_RES_NINIT AST_MUTEX_DEFINE_STATIC(res_lock); #if 0 #warning "Warning, res_ninit is missing... Could have reentrancy issues"