From patchwork Tue Mar 26 22:16:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.W. Betts" X-Patchwork-Id: 231564 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 49BB32C009B for ; Wed, 27 Mar 2013 09:16:56 +1100 (EST) Received: from localhost ([::1]:35595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKcAl-0001ki-Do for incoming@patchwork.ozlabs.org; Tue, 26 Mar 2013 18:16:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKcAV-0001kb-W8 for qemu-devel@nongnu.org; Tue, 26 Mar 2013 18:16:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKcAV-0008Tg-1O for qemu-devel@nongnu.org; Tue, 26 Mar 2013 18:16:35 -0400 Received: from blu0-omc2-s11.blu0.hotmail.com ([65.55.111.86]:25013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKcAU-0008TT-UK for qemu-devel@nongnu.org; Tue, 26 Mar 2013 18:16:34 -0400 Received: from BLU0-SMTP380 ([65.55.111.72]) by blu0-omc2-s11.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Mar 2013 15:16:33 -0700 X-EIP: [BPsUNG/bFAf1UUd4iAZ3Icv/6zjEc/Pn] X-Originating-Email: [computers57@hotmail.com] Message-ID: Received: from [192.168.2.4] ([66.29.191.18]) by BLU0-SMTP380.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Mar 2013 15:16:32 -0700 From: "C.W. Betts" Date: Tue, 26 Mar 2013 16:16:30 -0600 To: qemu-devel@nongnu.org MIME-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) X-OriginalArrivalTime: 26 Mar 2013 22:16:32.0982 (UTC) FILETIME=[929CF760:01CE2A6F] X-detected-operating-system: by eggs.gnu.org: Windows XP X-Received-From: 65.55.111.86 Subject: [Qemu-devel] [patch]Make GTK build on OS X X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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" 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 #include #include +#ifdef __APPLE__ +#include +#include +#else #include +#endif #include #include "ui/console.h"