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
This commit is contained in:
Sean Bright
2009-07-08 16:43:12 +00:00
parent 370ef6d7eb
commit e75ae63ac2
5 changed files with 171 additions and 3 deletions

View File

@@ -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);