From: Brad Smith <b...@comstyle.com> Fix the build of the Gtk+ UI on *BSD systems.
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> (cherry picked from commit 17bf9735dd5a46d829cfb175703c6a2c254a9aa2) Signed-off-by: Michael Roth <mdr...@linux.vnet.ibm.com> --- include/qemu-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/qemu-common.h b/include/qemu-common.h index b9057d1..cb82ef3 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 -- 1.7.9.5