aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h
index e1546c671b..cb5d46541e 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -35,6 +35,8 @@ struct iovec {
void *iov_base;
size_t iov_len;
};
+#else
+#include <sys/uio.h>
#endif
#ifdef _WIN32