Oops for mgcp and logger fix for old linux

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-11-15 00:35:49 +00:00
parent 483146e034
commit 419e5113e6
2 changed files with 2 additions and 2 deletions

View File

@@ -899,7 +899,7 @@ static int mgcp_call(struct ast_channel *ast, char *dest, int timeout)
res = -1; res = -1;
} }
ast_mutex_unlock(&sub->lock); ast_mutex_unlock(&sub->lock);
ast_queue_frame(ast, AST_CONTROL_RINGING); ast_queue_control(ast, AST_CONTROL_RINGING);
return res; return res;
} }

View File

@@ -48,7 +48,7 @@ static int syslog_level_map[] = {
#define MAX_MSG_QUEUE 200 #define MAX_MSG_QUEUE 200
#ifdef __linux__ #if defined(__linux__) && defined(__NR_gettid)
#include <asm/unistd.h> #include <asm/unistd.h>
#define GETTID() syscall(__NR_gettid) #define GETTID() syscall(__NR_gettid)
#else #else