diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-22 22:14:37 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-22 22:14:37 +0000 |
commit | c9303b9182dc79a3acc657e8bfedb3f8c67fa8d4 (patch) | |
tree | 7690977103b32c8d652c46e29e414ebb9d7a439c /channels | |
parent | 1db85b76e3cfaa20195e942fa7beee63ae34573c (diff) |
correct fix made in r132777... the code *did* compile in dev-mode, as long as libpri was installed and enabled
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132791 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_dahdi.c | 3 |
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; |