qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [patch]Make GTK build on OS X


From: C.W. Betts
Subject: [Qemu-devel] [patch]Make GTK build on OS X
Date: Tue, 26 Mar 2013 16:16:30 -0600

This patch makes the GTK UI build on OS X by including the right headers.



From b5cc84343f479d4870961c82fc7b384637e9616c Mon Sep 17 00:00:00 2001
From: "C.W. Betts" <address@hidden>
Date: Sun, 24 Mar 2013 11:24:05 -0600
Subject: [PATCH 1/3] Make the GTK UI build on OS X.

---
 ui/gtk.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ui/gtk.c b/ui/gtk.c
index 305940d..e2948d7 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -54,7 +54,12 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <sys/wait.h>
+#ifdef __APPLE__
+#include <termios.h>
+#include <util.h>
+#else
 #include <pty.h>
+#endif
 #include <math.h>
 
 #include "ui/console.h"
-- 
1.8.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]