correct fix made in r132777... the code *did* compile in dev-mode, as long as libpri...
[asterisk/asterisk.git] / 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;