aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:12:57 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:20 -0500
commit0e74e66bd55150f781c78794c4a52e17edcf75e6 (patch)
treeda4ce684a65d65696da17d929033ed11d4a9c0d0 /qemu-common.h
parent71e72a19bafda97c9e97b089499fdc050e96a631 (diff)
define MAP_ANONYMOUS if it is not defined in qemu-common.h
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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