diff options
author | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-08 19:12:55 +0000 |
---|---|---|
committer | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-08 19:12:55 +0000 |
commit | dcbe1117e6325a5ffdbe98038cb7b46b329880b7 (patch) | |
tree | c25d317db372c3ac398d9a06cfbc6e5cafd283d6 /main | |
parent | 7a61a43adbc1ef91229e7757f6ac88619adff202 (diff) |
Fix trunk compile.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274773 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/channel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/channel.c b/main/channel.c index f6d9ada94..5398f0073 100644 --- a/main/channel.c +++ b/main/channel.c @@ -72,9 +72,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include <sys/epoll.h> #endif -#ifdef HAVE_PRI -#include "sig_pri.h" -#endif +#if defined(HAVE_PRI) +#include "libpri.h" +#endif /* defined(HAVE_PRI) */ struct ast_epoll_data { struct ast_channel *chan; @@ -285,7 +285,7 @@ static void channel_data_add_flags(struct ast_data *tree, static const char *callerid_ton2str(int ton) { -#ifdef HAVE_PRI +#if defined(HAVE_PRI) switch (ton) { case PRI_TON_INTERNATIONAL: return "International Number"; @@ -303,7 +303,7 @@ static const char *callerid_ton2str(int ton) default: return "Unknown Number Type"; } -#endif +#endif /* defined(HAVE_PRI) */ return ""; } |