ui/gtk.c: Fix *BSD build of Gtk+ UI
PATCH 1/1 ui/gtk.c: Fix *BSD build of Gtk+ UI
Fix the build of the Gtk+ UI on *BSD systems.
Signed-off-by Brad Smith <[email protected]>
include/qemu-common.h +1 -0
@@ -45,6 +45,7 @@#if defined(__GLIBC__)# include <pty.h> #elif definedCONFIG_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.
Quoted 10 lines · Brad Smith
Fix the build of the Gtk+ UI on *BSD systems.
Signed-off-by Brad Smith <[email protected]>include/qemu-common.h +0
-0
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 definedCONFIG_BSD +# include <termios.h> # if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)# include <libutil.h> # else
Can't see how it could hurt.
Reviewed-by Laszlo Ersek <[email protected]>
Anthony Liguori
AppliedApplied. Thanks.
Regards,
Anthony Liguori