diff options
author | Mark Spencer <markster@digium.com> | 2002-05-13 22:29:39 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2002-05-13 22:29:39 +0000 |
commit | d5930d1fe84a2e34289911f5bbd0b700fc2fb32a (patch) | |
tree | 64c5de0a1afb1872ee474057eb3f244015f2801c /apps/app_intercom.c | |
parent | 04cde57a77609a2e8c8b2cc860737983584af630 (diff) |
Version 0.1.12 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_intercom.c')
-rwxr-xr-x | apps/app_intercom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_intercom.c b/apps/app_intercom.c index 39f645700..72ae2dc08 100755 --- a/apps/app_intercom.c +++ b/apps/app_intercom.c @@ -11,6 +11,7 @@ * the GNU General Public License */ +#include <asterisk/lock.h> #include <asterisk/file.h> #include <asterisk/frame.h> #include <asterisk/logger.h> @@ -47,7 +48,7 @@ STANDARD_LOCAL_USER; LOCAL_USER_DECL; -static pthread_mutex_t sound_lock = PTHREAD_MUTEX_INITIALIZER; +static pthread_mutex_t sound_lock = AST_MUTEX_INITIALIZER; static int sound = -1; static int write_audio(short *data, int len) |