aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/res_musiconhold.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 492bf9872..35525c0b9 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -46,6 +46,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <thread.h>
#endif
+#ifdef SOLARIS
+#include <thread.h>
+#endif
+
#ifdef HAVE_DAHDI
#include <dahdi/user.h>
#endif