23.05.2013 02:38, Brad Smith wrote: > Fix the build of the Gtk+ UI on *BSD systems.
Can you please describe what exactly was broken on *BSD systems, -- which file(s) needs this additional termios.h include? I want to fix this properly, because now it isn't "nitpicking", as you say, anymore -- after the previous pbonzini's changes it does not build on debian sparc anymore due to some conflicting includes (which is an unrelated issue, but is triggered now because every .c file includes a ton of #defines). I already asked you the same question on 25.05, which is about two weeks ago by now, -- did you had no time to reply so far? Thanks, /mjt > Signed-off-by: Brad Smith <b...@comstyle.com> > Reviewed-by: Laszlo Ersek <ler...@redhat.com> > Message-id: 20130521161324.ga29...@rox.home.comstyle.com > Signed-off-by: Anthony Liguori <aligu...@us.ibm.com> > > 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 >