From a2266547c6d387a926bd62fe31c64130cbb42b81 Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Fri, 13 Jun 2008 18:57:24 +0000 Subject: [PATCH] fixed dahdi compatability header from assuming either dahdi or zaptel is installed (may not have either) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@122663 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/dahdi_compat.h | 4 ++-- res/res_musiconhold.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/asterisk/dahdi_compat.h b/include/asterisk/dahdi_compat.h index bf23f1054e..69f2699cfb 100644 --- a/include/asterisk/dahdi_compat.h +++ b/include/asterisk/dahdi_compat.h @@ -22,12 +22,12 @@ #ifndef DAHDI_COMPAT_H #define DAHDI_COMPAT_H -#ifndef HAVE_ZAPTEL +#ifdef HAVE_DAHDI #include #include -#else +#elif defined(HAVE_ZAPTEL) #include #include diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 476c7d1207..ed2b55f0e1 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -27,7 +27,7 @@ /*** MODULEINFO win32 - zaptel + dahdi ***/ #include "asterisk.h"