From e75ae63ac20af777144941d6611fb37527ce19f7 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Wed, 8 Jul 2009 16:43:12 +0000 Subject: 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 --- main/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/dns.c') 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); -- cgit v1.2.3