From: Igor Mitsyanko Date: Fri, 10 May 2013 19:58:21 +0000 (+0400) Subject: osdep.h: include sys/types.h for ssize_t definition X-Git-Tag: v1.5.0-rc2~28^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98b2d199c109c9eabebb70965db0ae24f3f75a79;p=thirdparty%2Fqemu.git 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 --- diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 42545bcbdb7..3bcd4ab7cdd 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