From 35cf5f8984468a1e27996066549e858840101d0b Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 22 Jul 2008 22:14:37 +0000 Subject: [PATCH] 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/trunk@132791 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 4e1f666d1c..149a51acb7 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -8229,8 +8229,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;