From 98b2d199c109c9eabebb70965db0ae24f3f75a79 Mon Sep 17 00:00:00 2001 From: Igor Mitsyanko Date: Fri, 10 May 2013 23:58:21 +0400 Subject: [PATCH] osdep.h: include sys/types.h for ssize_t definition sys/types.h is taken out from "ifdef __OpenBSD__" guard. It should be safe for other systems, according to following survey: http://hacks.owlfolio.org/header-survey/ This fixes build for CONFIG_IOVEC-less systems (mingw). Signed-off-by: Igor Mitsyanko Signed-off-by: Michael Tokarev --- include/qemu/osdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 42545bcbdb..3bcd4ab7cd 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -5,8 +5,8 @@ #include #include #include -#ifdef __OpenBSD__ #include +#ifdef __OpenBSD__ #include #endif