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>
This commit is contained in:
Brad Smith 2013-05-21 12:14:24 -04:00 committed by Anthony Liguori
parent 95916abcf4
commit 17bf9735dd

View File

@ -45,6 +45,7 @@
#if defined(__GLIBC__) #if defined(__GLIBC__)
# include <pty.h> # include <pty.h>
#elif defined CONFIG_BSD #elif defined CONFIG_BSD
# include <termios.h>
# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) # if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
# include <libutil.h> # include <libutil.h>
# else # else