fix compile failure found by buildbot (go, buildbot!)
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 26 Jun 2008 12:09:24 +0000 (12:09 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 26 Jun 2008 12:09:24 +0000 (12:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125279 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_musiconhold.c

index 92303c3..a23c8c4 100644 (file)
@@ -46,7 +46,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include <thread.h>
 #endif
 
+#if defined(HAVE_DAHDI)
 #include <dahdi/user.h>
+#endif
 
 #include "asterisk/lock.h"
 #include "asterisk/file.h"