qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] osdep.h: include sys/types.h for ssize_t definition
@ 2013-05-10 15:16 Igor Mitsyanko
  2013-05-10 15:24 ` Peter Maydell
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Mitsyanko @ 2013-05-10 15:16 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, pbonzini, aliguori, Igor Mitsyanko

This fixes build for mingw32

Signed-off-by: Igor Mitsyanko <i.mitsyanko@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-10 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10 15:16 [Qemu-devel] [PATCH] osdep.h: include sys/types.h for ssize_t definition Igor Mitsyanko
2013-05-10 15:24 ` Peter Maydell
2013-05-10 15:40   ` Igor Mitsyanko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).