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"