diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-08 16:48:07 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-08 16:48:07 +0000 |
commit | 2be6d9d7c174007ac0018fed802364d2115f0283 (patch) | |
tree | 32674bc8c5dc21153e7c8a4548f6641aef0566bf /res | |
parent | ee8cba2208114438d40442616149adf12cc422c2 (diff) |
BSD portability enhancements (bug #234)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1486 f38db490-d61c-443f-a65b-d21fe96a405b
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); |