qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: aliguori@us.ibm.com
Cc: Igor Mitsyanko <i.mitsyanko@gmail.com>,
	qemu-trivial@nongnu.org, peter.maydell@linaro.org,
	qemu-devel@nongnu.org, pbonzini@redhat.com
Subject: Re: [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	[thread overview]
Message-ID: <518F60F2.8030909@weilnetz.de> (raw)
In-Reply-To: <1368215901-55444-1-git-send-email-i.mitsyanko@gmail.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 <i.mitsyanko@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

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

Regards,
Stefan Weil

      parent reply	other threads:[~2013-05-12  9:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10 19:58 [Qemu-devel] [PATCH V2] osdep.h: include sys/types.h for ssize_t definition Igor Mitsyanko
2013-05-12  9:24 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2013-05-12  9:29 ` Stefan Weil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=518F60F2.8030909@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=aliguori@us.ibm.com \
    --cc=i.mitsyanko@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).