summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2013-05-21 12:14:24 -0400
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-06-11 18:10:52 -0500
commit31ba7016d42c4ef04be64147fcda3f4dec4547c0 (patch)
tree7508485d995dd4bcaa6779babda20012dbd21e13
parent9ca80c7f293345ee8b53306cfdc548df9ece8b13 (diff)
downloadqemu-31ba7016d42c4ef04be64147fcda3f4dec4547c0.tar.gz
ui/gtk.c: Fix *BSD build of Gtk+ UI
Fix the build of the Gtk+ UI on *BSD systems. Signed-off-by: Brad Smith <brad@comstyle.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Message-id: 20130521161324.GA29977@rox.home.comstyle.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit 17bf9735dd5a46d829cfb175703c6a2c254a9aa2) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
-rw-r--r--include/qemu-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h
index b9057d18cf..cb82ef3d42 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