Make sure we are clean to build without libpri
authorMatthew Fredrickson <creslin@digium.com>
Thu, 11 Oct 2007 17:09:31 +0000 (17:09 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Thu, 11 Oct 2007 17:09:31 +0000 (17:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85431 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index db3ef8b..4a0bd71 100644 (file)
@@ -563,7 +563,7 @@ static struct zt_pvt {
        unsigned int inservice:1;
        unsigned int locallyblocked:1;
        unsigned int remotelyblocked:1;
-#if defined(HAVE_PRI)
+#if defined(HAVE_PRI) || defined(HAVE_SS7)
        unsigned int alerting:1;
        unsigned int alreadyhungup:1;
        unsigned int isidlecall:1;
@@ -583,7 +583,7 @@ static struct zt_pvt {
        char language[MAX_LANGUAGE];
        char mohinterpret[MAX_MUSICCLASS];
        char mohsuggest[MAX_MUSICCLASS];
-#ifdef PRI_ANI
+#if defined(PRI_ANI) || defined(HAVE_SS7)
        char cid_ani[AST_MAX_EXTENSION];
 #endif
        char cid_num[AST_MAX_EXTENSION];