Get MoH building on OpenSolaris.
authorSean Bright <sean@malleable.com>
Sat, 16 Jan 2010 00:54:08 +0000 (00:54 +0000)
committerSean Bright <sean@malleable.com>
Sat, 16 Jan 2010 00:54:08 +0000 (00:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@240667 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_musiconhold.c

index d01e87e..82e0534 100644 (file)
@@ -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