summaryrefslogtreecommitdiffstats
path: root/vl.h
diff options
context:
space:
mode:
authorths2007-01-05 18:44:41 +0100
committerths2007-01-05 18:44:41 +0100
commit2e9671daee6f575e2eca8893ec64cd0655d672bc (patch)
tree3cc9c9b429ec4e688b62bb79cf35fe2fc51258f1 /vl.h
parentAdd -boot n option for x86 using PXE, by Anthony Liguori. (diff)
downloadqemu-2e9671daee6f575e2eca8893ec64cd0655d672bc.tar.gz
qemu-2e9671daee6f575e2eca8893ec64cd0655d672bc.tar.xz
qemu-2e9671daee6f575e2eca8893ec64cd0655d672bc.zip
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 b63145e352..9d95494a0e 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