aboutsummaryrefslogtreecommitdiff
path: root/block-raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'block-raw.c')
-rw-r--r--block-raw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block-raw.c b/block-raw.c
index 9f4a0a1d2a..9fe953c303 100644
--- a/block-raw.c
+++ b/block-raw.c
@@ -44,6 +44,8 @@
#endif
#ifdef __sun__
+#define _POSIX_PTHREAD_SEMANTICS 1
+#include <signal.h>
#include <sys/dkio.h>
#endif
#ifdef __linux__