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 <i.mitsya...@gmail.com> --- 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 42545bc..3bcd4ab 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -5,8 +5,8 @@ #include <stdarg.h> #include <stddef.h> #include <stdbool.h> -#ifdef __OpenBSD__ #include <sys/types.h> +#ifdef __OpenBSD__ #include <sys/signal.h> #endif -- 1.8.1.4