summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-06-04 15:44:14 +0000
committerMark Spencer <markster@digium.com>2004-06-04 15:44:14 +0000
commit103bb4a33480fe9f7e484a851deaef458a40a69b (patch)
treef162578b4f4db311cb01a087e412ca2a84c24d63 /channel.c
parentaa2795cc46ec5f9b3ec85f90990e72a67e164627 (diff)
Enhancements for zaptel+bsd (bug #1781)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index f31c01229..b3ba99743 100755
--- a/channel.c
+++ b/channel.c
@@ -40,7 +40,11 @@
#include <asterisk/utils.h>
#ifdef ZAPTEL_OPTIMIZATIONS
#include <sys/ioctl.h>
+#ifdef __linux__
#include <linux/zaptel.h>
+#else
+#include <zaptel.h>
+#endif /* __linux__ */
#ifndef ZT_TIMERPING
#error "You need newer zaptel! Please cvs update zaptel"
#endif