aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 2df7d80e3..0b87d0d2e 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -47,6 +47,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <thread.h>
#endif
+#ifdef SOLARIS
+#include <thread.h>
+#endif
+
#ifdef HAVE_DAHDI
#include <dahdi/user.h>
#endif