[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH] osdep.h: include sys/types.h for ssize_t definiti
From: |
Igor Mitsyanko |
Subject: |
[Qemu-trivial] [PATCH] osdep.h: include sys/types.h for ssize_t definition |
Date: |
Fri, 10 May 2013 19:16:30 +0400 |
This fixes build for mingw32
Signed-off-by: Igor Mitsyanko <address@hidden>
---
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
- [Qemu-trivial] [PATCH] osdep.h: include sys/types.h for ssize_t definition,
Igor Mitsyanko <=