diff options
author | Mark Spencer <markster@digium.com> | 2004-06-04 15:44:14 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-06-04 15:44:14 +0000 |
commit | 103bb4a33480fe9f7e484a851deaef458a40a69b (patch) | |
tree | f162578b4f4db311cb01a087e412ca2a84c24d63 /apps/app_zapbarge.c | |
parent | aa2795cc46ec5f9b3ec85f90990e72a67e164627 (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 'apps/app_zapbarge.c')
-rwxr-xr-x | apps/app_zapbarge.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/app_zapbarge.c b/apps/app_zapbarge.c index 1dd9dd3bc..6d455ce4a 100755 --- a/apps/app_zapbarge.c +++ b/apps/app_zapbarge.c @@ -32,9 +32,14 @@ #include <string.h> #include <stdlib.h> #include <sys/ioctl.h> - #include <pthread.h> + +#ifdef __linux__ #include <linux/zaptel.h> +#else +#include <zaptel.h> +#endif /* __linux__ */ + static char *tdesc = "Barge in on Zap channel application"; static char *app = "ZapBarge"; |