From: Richard Mudgett Date: Thu, 8 Jul 2010 19:12:55 +0000 (+0000) Subject: Fix trunk compile. X-Git-Tag: 11.0.0-beta1~2723 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25a3c313b55ed33022ecc27a637d44e24b7d5832;p=thirdparty%2Fasterisk.git Fix trunk compile. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@274773 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index f6d9ada94e..5398f00736 100644 --- a/main/channel.c +++ b/main/channel.c @@ -72,9 +72,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #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 ""; }