aboutsummaryrefslogtreecommitdiff
path: root/block-raw.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-05 17:44:41 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-05 17:44:41 +0000
commit2e9671daee6f575e2eca8893ec64cd0655d672bc (patch)
tree3cc9c9b429ec4e688b62bb79cf35fe2fc51258f1 /block-raw.c
parenteec85c2a0d18523f535785d15b046f427481cf5f (diff)
patch for block-raw.c for Solaris, by Ben Taylor.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2294 c046a42c-6fe2-441c-8c8c-71466251a162
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__