summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/qemu-common.h b/qemu-common.h
index d478b47d3..1600a1005 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -32,13 +32,15 @@
#ifndef O_BINARY
#define O_BINARY 0
#endif
-
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
#ifndef ENOMEDIUM
#define ENOMEDIUM ENODEV
#endif
-#ifndef HAVE_IOVEC
-#define HAVE_IOVEC
+#ifndef CONFIG_IOVEC
+#define CONFIG_IOVEC
struct iovec {
void *iov_base;
size_t iov_len;