diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-23 17:05:04 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-23 17:05:04 +0000 |
commit | cce4c1486b226d99a8bc6c04cb27fda6a565b9f8 (patch) | |
tree | 7fb3e44194e50dad2b6760e70ef5953a51ced589 /channels | |
parent | 22cfecfb05a7a717dfe62766a4abbfb791a2edf8 (diff) |
Fix building of chan_dahdi when HAVE_PRI is not
defined.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@132974 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_dahdi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 93ead486c..08048baff 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -7185,7 +7185,9 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf, #if 1 DAHDI_BUFFERINFO bi; #endif +#ifdef HAVE_PRI DAHDI_SPANINFO si; +#endif int res; int span=0; int here = 0; |