summaryrefslogtreecommitdiff
path: root/emulators/qemu/files/patch-vl.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu/files/patch-vl.h')
-rw-r--r--emulators/qemu/files/patch-vl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/qemu/files/patch-vl.h b/emulators/qemu/files/patch-vl.h
new file mode 100644
index 000000000000..8307eee09785
--- /dev/null
+++ b/emulators/qemu/files/patch-vl.h
@@ -0,0 +1,12 @@
+Index: qemu/vl.h
+@@ -73,6 +73,10 @@
+ #define PRIo64 "I64o"
+ #endif
+
++#ifndef ENOMEDIUM
++#define ENOMEDIUM 4097
++#endif
++
+ #ifdef QEMU_TOOL
+
+ /* we use QEMU_TOOL in the command line tools which do not depend on