Received: from eggs.gnu.org ([208.118.235.92]:56392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbSav-0002rY-H0 for qemu-devel@nongnu.org; Sun, 12 May 2013 05:29:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbSau-0003sr-EQ for qemu-devel@nongnu.org; Sun, 12 May 2013 05:29:29 -0400 Message-ID: <518F60F2.8030909@weilnetz.de> Date: Sun, 12 May 2013 11:29:22 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1368215901-55444-1-git-send-email-i.mitsyanko@gmail.com> In-Reply-To: <1368215901-55444-1-git-send-email-i.mitsyanko@gmail.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-1.5 V2] osdep.h: include sys/types.h for ssize_t definition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com Cc: Igor Mitsyanko , qemu-trivial@nongnu.org, peter.maydell@linaro.org, qemu-devel@nongnu.org, pbonzini@redhat.com Am 10.05.2013 21:58, schrieb Igor Mitsyanko: > 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 > --- > 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 > #include > #include > -#ifdef __OpenBSD__ > #include > +#ifdef __OpenBSD__ > #include > #endif Either this patch or http://patchwork.ozlabs.org/patch/243151/ is needed for QEMU 1.5 to fix compilation with MinGW. Regards, Stefan Weil