summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Peeler <jpeeler@digium.com>2009-06-25 22:48:33 +0000
committerJeff Peeler <jpeeler@digium.com>2009-06-25 22:48:33 +0000
commit6fad61406c52edeea379877df31d8ed31ee0f5ed (patch)
tree3d5b379ee4f797d6ea90165f6a8d18e929c07794
parenta6426cdf9d68b2f3d7cff1219725824f71491df2 (diff)
make sure chan_dahdi compiles with only libss7 and not libpri installed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@203479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_dahdi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index f25c84258..e1c3348f4 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -69,6 +69,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#endif
#ifdef HAVE_SS7
+/* put this here until sig_ss7 comes along */
+#define NUM_DCHANS 4 /*!< No more than 4 d-channels */
+#define MAX_CHANNELS 672 /*!< No more than a DS3 per trunk group */
#include <libss7.h>
#endif
@@ -15909,7 +15912,7 @@ static int setup_dahdi(int reload)
static int load_module(void)
{
int res;
-#if defined(HAVE_PRI)
+#if defined(HAVE_PRI) || defined (HAVE_SS7)
int y;
#endif
#if defined(HAVE_SS7)