diff options
author | Mark Spencer <markster@digium.com> | 2003-09-08 16:48:07 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-09-08 16:48:07 +0000 |
commit | 479a67e629385a2c43bf9383c0c23f5dae032504 (patch) | |
tree | 32674bc8c5dc21153e7c8a4548f6641aef0566bf /res | |
parent | 1e19f72077a8e2f5befb21bb5c3f2131f8b24107 (diff) |
BSD portability enhancements (bug #234)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rwxr-xr-x | res/res_musiconhold.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <errno.h> #include <unistd.h> #include <string.h> +#include <signal.h> #include <stdlib.h> #include <stdio.h> #include <sys/time.h> @@ -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); |