[asterisk-commits] rmudgett: trunk r274773 - /trunk/main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 8 14:12:59 CDT 2010
Author: rmudgett
Date: Thu Jul 8 14:12:55 2010
New Revision: 274773
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=274773
Log:
Fix trunk compile.
Modified:
trunk/main/channel.c
Modified: trunk/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/channel.c?view=diff&rev=274773&r1=274772&r2=274773
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Thu Jul 8 14:12:55 2010
@@ -72,9 +72,9 @@
#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 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 @@
default:
return "Unknown Number Type";
}
-#endif
+#endif /* defined(HAVE_PRI) */
return "";
}
More information about the asterisk-commits
mailing list