aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-22 22:15:54 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-22 22:15:54 +0000
commit2c9597ae1047f7363e3ea05e551b5933d1f36960 (patch)
tree07f43f3563d93a2fc77013223afd2bb8fc13149e
parentd944584c053a7caef69ad3eae8836bd4868e1ea0 (diff)
Merged revisions 132791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r132791 | kpfleming | 2008-07-22 17:14:37 -0500 (Tue, 22 Jul 2008) | 2 lines 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/branches/1.6.0@132793 f38db490-d61c-443f-a65b-d21fe96a405b
-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 3e00d2104..27233521b 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -8072,8 +8072,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;
int span = 0;