fix for older linux systems (bug #2853)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2004-11-15 02:30:32 +00:00
parent 8eb984caec
commit 35dd204d76

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