diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 22:35:40 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 22:35:40 +0000 |
commit | d4544fc8306f0cf0c207fc1d9b474e1d4fd4441c (patch) | |
tree | a2d24e1216f63b1859ffdd35fb27bbc017a6f8b7 /utils/muted.c | |
parent | 4f02a921dc3c35443d27460b7574a635796870fa (diff) |
Change the includes to work on FreeBSD
Linux has sys/soundcard.h, which does a #include <linux/soundcard.h>
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43240 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/muted.c')
-rw-r--r-- | utils/muted.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/muted.c b/utils/muted.c index 63be3c703..879bea583 100644 --- a/utils/muted.c +++ b/utils/muted.c @@ -35,10 +35,10 @@ * */ -#ifndef __Darwin__ -#include <linux/soundcard.h> -#else +#ifdef __Darwin__ #include <CoreAudio/AudioHardware.h> +#elif defined(__linux__) || defined(__FreeBSD__) +#include <sys/soundcard.h> #endif #include <stdio.h> #include <errno.h> |