aboutsummaryrefslogtreecommitdiff
path: root/vl.h
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 /vl.h
parenteec85c2a0d18523f535785d15b046f427481cf5f (diff)
downloadqemu-2e9671daee6f575e2eca8893ec64cd0655d672bc.zip
qemu-2e9671daee6f575e2eca8893ec64cd0655d672bc.tar.gz
qemu-2e9671daee6f575e2eca8893ec64cd0655d672bc.tar.bz2
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 'vl.h')
-rw-r--r--vl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index b63145e..9d95494 100644
--- a/vl.h
+++ b/vl.h
@@ -45,6 +45,10 @@
#define O_BINARY 0
#endif
+#ifdef __sun__
+#define ENOMEDIUM 4097
+#endif
+
#ifdef _WIN32
#include <windows.h>
#define fsync _commit