From: Jason Parker Date: Mon, 18 Sep 2006 22:35:40 +0000 (+0000) Subject: Change the includes to work on FreeBSD X-Git-Tag: 1.4.0-beta1~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9177d1143b295559497b46d08869e60f8ac9b887;p=thirdparty%2Fasterisk.git Change the includes to work on FreeBSD Linux has sys/soundcard.h, which does a #include git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43240 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/utils/Makefile b/utils/Makefile index 5eae26d1e4..9d3f5434cb 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -17,6 +17,7 @@ UTILS:=astman smsq stereorize streamplayer aelparse muted ifeq (${OSARCH},SunOS) LIBS+=-lsocket -lnsl + UTILS:=$(filter-out muted,$(UTILS)) endif ifeq ($(POPT_LIB),) diff --git a/utils/muted.c b/utils/muted.c index 63be3c7033..879bea5838 100644 --- a/utils/muted.c +++ b/utils/muted.c @@ -35,10 +35,10 @@ * */ -#ifndef __Darwin__ -#include -#else +#ifdef __Darwin__ #include +#elif defined(__linux__) || defined(__FreeBSD__) +#include #endif #include #include