summaryrefslogtreecommitdiff
path: root/res/res_musiconhold.c
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2010-01-16 00:54:08 +0000
committerSean Bright <sean@malleable.com>2010-01-16 00:54:08 +0000
commit1a30c33d472a3c3c7510e029236b98c147e6ab53 (patch)
tree7b6912127f438358223ec0e46d69dea381aec306 /res/res_musiconhold.c
parent6c1e69370eb4230b07cc272f33a139628764a063 (diff)
Get MoH building on OpenSolaris.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@240667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_musiconhold.c')
-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 d01e87e24..82e053478 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -43,6 +43,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <dirent.h>
#include <sys/ioctl.h>
+#ifdef SOLARIS
+#include <thread.h>
+#endif
+
#ifdef HAVE_DAHDI
#include <dahdi/user.h>
#endif