Skip to contentSkip to conversation

ui/gtk.c: Fix *BSD build of Gtk+ UI

PATCH Applied Brad Smith 3 participants 3 messages May 21, 2013 – May 22, 2013

lore
Share & tools
lore

Brad Smith

author
#0 lore raw

PATCH 1/1 ui/gtk.c: Fix *BSD build of Gtk+ UI

Fix the build of the Gtk+ UI on *BSD systems.

include/qemu-common.h +1 -0
index af769f5..c944bb7 100644
@@ -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
Signature · 3 lines
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Brad Smith

Fix the build of the Gtk+ UI on *BSD systems.

include/qemu-common.h +0 -0
index af769f5..c944bb7 100644

include/qemu-common.h line 51

Quoted 7 lines
include/qemu-common.h +1 -0
@@ -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

Can't see how it could hurt.