From patchwork Tue May 21 16:14:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Smith X-Patchwork-Id: 245339 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 BE8372C00A2 for ; Wed, 22 May 2013 02:16:31 +1000 (EST) Received: from localhost ([::1]:51823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UepEj-0005GI-To for incoming@patchwork.ozlabs.org; Tue, 21 May 2013 12:16:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UepEN-0005Cv-Vg for qemu-devel@nongnu.org; Tue, 21 May 2013 12:16:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UepEJ-0001op-0y for qemu-devel@nongnu.org; Tue, 21 May 2013 12:16:07 -0400 Received: from speedy.comstyle.com ([2001:470:1d:8c::2]:38734 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UepEI-0001m8-U1 for qemu-devel@nongnu.org; Tue, 21 May 2013 12:16:02 -0400 Received: from rox.home.comstyle.com (unknown [IPv6:2001:470:b01e:3:f406:6605:d77a:38f9]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id 73E8547605 for ; Tue, 21 May 2013 12:14:26 -0400 (EDT) Date: Tue, 21 May 2013 12:14:24 -0400 From: Brad Smith To: qemu-devel@nongnu.org Message-ID: <20130521161324.GA29977@rox.home.comstyle.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-comstyle-MailScanner-Information: Please contact the ISP for more information X-comstyle-MailScanner-ID: 73E8547605.A46A0 X-comstyle-MailScanner: Found to be clean X-comstyle-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.9, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-comstyle-MailScanner-From: brad@comstyle.com X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:470:1d:8c::2 Subject: [Qemu-devel] [PATCH] ui/gtk.c: Fix *BSD build of Gtk+ UI 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 Fix the build of the Gtk+ UI on *BSD systems. Signed-off-by: Brad Smith Reviewed-by: Laszlo Ersek diff --git a/include/qemu-common.h b/include/qemu-common.h index af769f5..c944bb7 100644 --- a/include/qemu-common.h +++ b/include/qemu-common.h @@ -45,6 +45,7 @@ #if defined(__GLIBC__) # include #elif defined CONFIG_BSD +# include # if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) # include # else