aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-04 15:44:14 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-04 15:44:14 +0000
commit6c6c4ed386df26894ee90d52fda4ba8c2b8c788c (patch)
treef162578b4f4db311cb01a087e412ca2a84c24d63 /channel.c
parent49dd9d666f69ad628f343457eabd18a0da4c5eba (diff)
Enhancements for zaptel+bsd (bug #1781)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3143 f38db490-d61c-443f-a65b-d21fe96a405b
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