diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 92303c3df3..a23c8c47b3 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -46,7 +46,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #endif +#if defined(HAVE_DAHDI) #include +#endif #include "asterisk/lock.h" #include "asterisk/file.h"