diff options
author | Sean Bright <sean@malleable.com> | 2009-07-08 16:43:12 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2009-07-08 16:43:12 +0000 |
commit | e75ae63ac20af777144941d6611fb37527ce19f7 (patch) | |
tree | aa1d72bc8ed6c1daa7aba2135487d4db3129f8b0 /main/dns.c | |
parent | 370ef6d7eb4c891604f4d944ca7e3fe60c7f4fcc (diff) |
Fix a few compilation problems found when building Asterisk against uClibc.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@205214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/dns.c')
-rw-r--r-- | main/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dns.c b/main/dns.c index 66c21b367..159a7a7ab 100644 --- a/main/dns.c +++ b/main/dns.c @@ -288,7 +288,7 @@ int ast_search_dns(void *context, res_nclose(&dnsstate); #endif #else -#ifndef __APPLE__ +#ifdef HAVE_RES_CLOSE res_close(); #endif ast_mutex_unlock(&res_lock); |