aboutsummaryrefslogtreecommitdiffstats
path: root/main/dns.c
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-08 16:43:12 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-08 16:43:12 +0000
commit5b4529e89e691d357eba13683c4286fc5faa3602 (patch)
treeaa1d72bc8ed6c1daa7aba2135487d4db3129f8b0 /main/dns.c
parent7c0bbc9c8de18333ef0717ac71f22285b01a833d (diff)
Fix a few compilation problems found when building Asterisk against uClibc.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@205214 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dns.c')
-rw-r--r--main/dns.c2
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);