From 103bb4a33480fe9f7e484a851deaef458a40a69b Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Fri, 4 Jun 2004 15:44:14 +0000 Subject: Enhancements for zaptel+bsd (bug #1781) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3143 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/Makefile | 1 + res/res_musiconhold.c | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'res') diff --git a/res/Makefile b/res/Makefile index 242a06163..32e42a2e2 100755 --- a/res/Makefile +++ b/res/Makefile @@ -17,6 +17,7 @@ CRYPTO_LIBS=-lssl -lcrypto CFLAGS+= CFLAGS+=$(shell [ -f /usr/include/linux/zaptel.h ] && echo " -DZAPATA_MOH") +CFLAGS+=$(shell [ -f /usr/local/include/zaptel.h ] && echo " -DZAPATA_MOH") # # Work around buggy RedHat 9.0 # diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 06798c274..d6bc6c760 100755 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -37,7 +37,11 @@ #include #include #ifdef ZAPATA_MOH +#ifdef __linux__ #include +#else +#include +#endif /* __linux__ */ #endif #include #include -- cgit v1.2.3