[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH for 1.5] ui/gtk.c: Fix *BSD build of Gtk+ UI
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-stable] [PATCH for 1.5] ui/gtk.c: Fix *BSD build of Gtk+ UI |
Date: |
Thu, 23 May 2013 19:06:57 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 |
23.05.2013 02:38, Brad Smith wrote:
> Fix the build of the Gtk+ UI on *BSD systems.
>
> Signed-off-by: Brad Smith <address@hidden>
> Reviewed-by: Laszlo Ersek <address@hidden>
> Message-id: address@hidden
> Signed-off-by: Anthony Liguori <address@hidden>
>
> 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
>
Do we really need to have all this in a common header file?
Together with termios, libutil, pty and other unrelated stuff?
Oh well..
/mjt