qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [Qemu-devel] [PATCH for-1.5 V2] osdep.h: include sys/


From: Stefan Weil
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH for-1.5 V2] osdep.h: include sys/types.h for ssize_t definition
Date: Sun, 12 May 2013 11:29:22 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

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 <address@hidden>
> ---
>  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

Either this patch or http://patchwork.ozlabs.org/patch/243151/
is needed for QEMU 1.5 to fix compilation with MinGW.

Regards,
Stefan Weil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]