This fixes build for mingw32

Signed-off-by: Igor Mitsyanko <i.mitsya...@gmail.com>
---
 include/qemu/osdep.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 42545bc..17946a3 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -163,6 +163,8 @@ int qemu_create_pidfile(const char *filename);
 int qemu_get_thread_id(void);
 
 #ifndef CONFIG_IOVEC
+#include <sys/types.h>
+
 struct iovec {
     void *iov_base;
     size_t iov_len;
-- 
1.8.1.4


Reply via email to