From: Peter Maydell <peter.maydell@linaro.org>
To: Brad Smith <brad@comstyle.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Anthony Liguori <aliguori@us.ibm.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH for-1.5] portability: pty.h is glibc-specific
Date: Tue, 14 May 2013 22:06:43 +0100 [thread overview]
Message-ID: <CAFEAcA-WnOLRuD5noZ8RotL1e2sbL+-e26XAYhC3OD5yJtcs9Q@mail.gmail.com> (raw)
In-Reply-To: <20130514183025.GJ25411@rox.home.comstyle.com>
On 14 May 2013 19:30, Brad Smith <brad@comstyle.com> wrote:
> On Tue, May 14, 2013 at 02:05:21PM +0200, Paolo Bonzini wrote:
>> This should fix building the GTK+ front-end on BSDs.
>>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> ---
>> include/qemu-common.h | 12 ++++++++++++
>> qemu-char.c | 10 ----------
>> ui/gtk.c | 1 -
>> 3 files changed, 12 insertions(+), 11 deletions(-)
>
> This actually fixes the build on *BSD and OS X systems.
>
>
> diff --git a/include/qemu-common.h b/include/qemu-common.h
> index af769f5..c944bb7 100644
> --- a/include/qemu-common.h
> +++ b/include/qemu-common.h
> @@ -45,6 +45,7 @@
> #if defined(__GLIBC__)
> # include <pty.h>
> #elif defined CONFIG_BSD
> +# include <termios.h>
> # if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
> # include <libutil.h>
> # else
>
This is going to need a Signed-off-by: if you want it to be
applied (and ideally to be a properly formatted git patch
that can be automatically applied, with a "for-1.5" tag
and cc'ing Anthony).
(I can't test it myself because my MacOSX system doesn't
have GTK so I don't build the GTK frontend anyway; it
doesn't actively break the MacOSX build, at least.)
thanks
-- PMM
next prev parent reply other threads:[~2013-05-14 21:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 12:05 [Qemu-devel] [PATCH for-1.5] portability: pty.h is glibc-specific Paolo Bonzini
2013-05-14 16:10 ` Anthony Liguori
2013-05-14 16:15 ` Brad Smith
2013-05-14 16:28 ` Anthony Liguori
2013-05-14 16:35 ` Paolo Bonzini
2013-05-14 19:28 ` Laszlo Ersek
2013-05-14 19:59 ` Eric Blake
2013-05-14 18:30 ` Brad Smith
2013-05-14 21:06 ` Peter Maydell [this message]
2013-05-14 19:34 ` Peter Maydell
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=CAFEAcA-WnOLRuD5noZ8RotL1e2sbL+-e26XAYhC3OD5yJtcs9Q@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=aliguori@us.ibm.com \
--cc=brad@comstyle.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@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).