Added define to get sigwait with two parameters on OpenSolaris.

This commit is contained in:
Tobias Brunner
2009-08-14 14:50:51 +02:00
parent e580e0a9a2
commit 8c3627c5ae
+2
View File
@@ -20,7 +20,9 @@
#ifdef HAVE_PRCTL
#include <sys/prctl.h>
#endif
#define _POSIX_PTHREAD_SEMANTICS /* for two param sigwait on OpenSolaris */
#include <signal.h>
#undef _POSIX_PTHREAD_SEMANTICS
#include <pthread.h>
#include <sys/stat.h>
#include <sys/types.h>