aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qemu-common.h b/qemu-common.h
index 6a15f89348..671c0fce1a 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -32,7 +32,9 @@
#ifndef O_BINARY
#define O_BINARY 0
#endif
-
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
#ifndef ENOMEDIUM
#define ENOMEDIUM ENODEV
#endif