aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authortzafrir <tzafrir@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-15 13:08:45 +0000
committertzafrir <tzafrir@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-15 13:08:45 +0000
commitfa5c8611706099f62aa363c43c81f583da2cf980 (patch)
tree032ed446ea3856ef45e8e947ba0b9943c25ce2de /utils
parent34fbba59f0bd3ffca3eea35bda85773d46da4a2d (diff)
Support for GNU/kFreeBSD
kFreeBSD is GNU (with glibc) on to of a FreeBSD kernel. See http://glibc-bsd.alioth.debian.org/porting/PORTING This patch gets Asterisk close to building on Debian kFreeBSD i386, mainly by adding an extra test for __GLIBC__ in one or two (or more) places. OSARCH is set to 'kfreebsd-gnu' DAHDI support (and support for chan_vpb) was not tested. Review: https://reviewboard.asterisk.org/r/858/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@282397 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rw-r--r--utils/muted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/muted.c b/utils/muted.c
index 2aa3bdcea..1202237b8 100644
--- a/utils/muted.c
+++ b/utils/muted.c
@@ -39,7 +39,7 @@
#ifdef __Darwin__
#include <CoreAudio/AudioHardware.h>
-#elif defined(__linux__) || defined(__FreeBSD__)
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__GLIBC__)
#include <sys/soundcard.h>
#endif
#include <stdio.h>