diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-09-15 17:51:15 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-09-15 17:51:15 +0000 |
commit | e26ea2f072a3702efcd1a3ee93ed58ab049977d5 (patch) | |
tree | 991159b62e5a8f16d98b924836fe0c1a8d4bbccb /dahdi_monitor.c | |
parent | 60944d31be167a244e5670d36f5963c55b43681c (diff) |
Fix some FreeBSD compatibility issues in -tools
Part of issue #15877.
Reported by: Max Khon
Patches:
dahdi-tools.diff uploaded by Max Khon (license 884)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7134 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi_monitor.c')
-rw-r--r-- | dahdi_monitor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dahdi_monitor.c b/dahdi_monitor.c index ce900d6..98a2f72 100644 --- a/dahdi_monitor.c +++ b/dahdi_monitor.c @@ -42,7 +42,11 @@ #include "dahdi_tools_version.h" #include "wavformat.h" +#if defined(__FreeBSD__) +#include <sys/soundcard.h> +#else #include <linux/soundcard.h> +#endif /* * defines for file handle numbers |