summaryrefslogtreecommitdiff
path: root/channels/chan_dahdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r--channels/chan_dahdi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 4e1f666d1..149a51acb 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;