From b70cace3906dd25b0560bb02e5048c181cc99f6e Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 22 Jul 2008 22:15:54 +0000 Subject: [PATCH] Merged revisions 132791 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r132791 | kpfleming | 2008-07-22 17:14:37 -0500 (Tue, 22 Jul 2008) | 2 lines correct fix made in r132777... the code *did* compile in dev-mode, as long as libpri was installed and enabled ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132793 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_dahdi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 3e00d21045..27233521b6 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -8072,8 +8072,9 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf, /* Make a dahdi_pvt structure for this interface (or CRV if "pri" is specified) */ struct dahdi_pvt *tmp = NULL, *tmp2, *prev = NULL; char fn[80]; -#if 1 struct dahdi_bufferinfo bi; +#ifdef HAVE_PRI + struct dahdi_spaninfo si; #endif int res; int span = 0;