From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcJzd-0000KH-JN for qemu-devel@nongnu.org; Tue, 14 May 2013 14:30:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcJzb-0005QL-2f for qemu-devel@nongnu.org; Tue, 14 May 2013 14:30:33 -0400 Received: from speedy.comstyle.com ([2001:470:1d:8c::2]:40471 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcJza-0005Q9-Uy for qemu-devel@nongnu.org; Tue, 14 May 2013 14:30:31 -0400 Date: Tue, 14 May 2013 14:30:26 -0400 From: Brad Smith Message-ID: <20130514183025.GJ25411@rox.home.comstyle.com> References: <1368533121-30796-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1368533121-30796-1-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH for-1.5] portability: pty.h is glibc-specific List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Tue, May 14, 2013 at 02:05:21PM +0200, Paolo Bonzini wrote: > This should fix building the GTK+ front-end on BSDs. > > Signed-off-by: Paolo Bonzini > --- > include/qemu-common.h | 12 ++++++++++++ > qemu-char.c | 10 ---------- > ui/gtk.c | 1 - > 3 files changed, 12 insertions(+), 11 deletions(-) This actually fixes the build on *BSD and OS X systems. 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.