From 2be6d9d7c174007ac0018fed802364d2115f0283 Mon Sep 17 00:00:00 2001 From: markster Date: Mon, 8 Sep 2003 16:48:07 +0000 Subject: BSD portability enhancements (bug #234) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1486 f38db490-d61c-443f-a65b-d21fe96a405b --- res/res_musiconhold.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'res') diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 487d6a252..3dc78fba0 100755 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -477,7 +478,9 @@ static struct ast_generator mohgen = static int moh_register(char *classname, char *mode, char *param, char *miscargs) { struct mohclass *moh; +#ifdef ZAPATA_MOH int x; +#endif ast_mutex_lock(&moh_lock); moh = get_mohbyname(classname); ast_mutex_unlock(&moh_lock); -- cgit v1.2.3