correct fix made in r132777... the code *did* compile in dev-mode, as long as libpri...
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 22 Jul 2008 22:14:37 +0000 (22:14 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 22 Jul 2008 22:14:37 +0000 (22:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@132791 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 4e1f666..149a51a 100644 (file)
@@ -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;