From: Matthew Fredrickson Date: Thu, 11 Oct 2007 17:09:31 +0000 (+0000) Subject: Make sure we are clean to build without libpri X-Git-Tag: 1.6.0-beta1~3^2~1232 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=14730c0ce410b7f43d0e10b6fa837ae85fcd6628;p=thirdparty%2Fasterisk.git Make sure we are clean to build without libpri git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85431 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index db3ef8b39a..4a0bd719a9 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -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];