mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-03 20:06:24 +00:00
BSD portability enhancements (bug #234)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user