git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@274773
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
#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;
static const char *callerid_ton2str(int ton)
{
-#ifdef HAVE_PRI
+#if defined(HAVE_PRI)
switch (ton) {
case PRI_TON_INTERNATIONAL:
return "International Number";
default:
return "Unknown Number Type";
}
-#endif
+#endif /* defined(HAVE_PRI) */
return "";
}