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_zapscan.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_zapscan.c')
-rwxr-xr-x | apps/app_zapscan.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/app_zapscan.c b/apps/app_zapscan.c index 58a456f38..f449c7f36 100755 --- a/apps/app_zapscan.c +++ b/apps/app_zapscan.c @@ -33,9 +33,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 = "Scan Zap channels application"; static char *app = "ZapScan"; |