From patchwork Tue Jun 17 19:23:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ed Maste X-Patchwork-Id: 360814 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 36A7A140091 for ; Wed, 18 Jun 2014 06:16:31 +1000 (EST) Received: from localhost ([::1]:53234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wwznx-0000MY-3b for incoming@patchwork.ozlabs.org; Tue, 17 Jun 2014 16:16:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wwznb-0008Mt-CK for qemu-devel@nongnu.org; Tue, 17 Jun 2014 16:16:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwznV-0002Eo-8G for qemu-devel@nongnu.org; Tue, 17 Jun 2014 16:16:07 -0400 Received: from [98.143.106.101] (port=61184 helo=freebsd.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwznU-0002EU-RY for qemu-devel@nongnu.org; Tue, 17 Jun 2014 16:16:01 -0400 Received: from emaste (uid 1001) (envelope-from emaste@freebsd.org) id 9ceb4 by freebsd.org (DragonFly Mail Agent 1); Tue, 17 Jun 2014 15:24:05 -0400 From: Ed Maste To: qemu-devel@nongnu.org Date: Tue, 17 Jun 2014 15:23:58 -0400 Message-Id: <1403033038-17622-1-git-send-email-emaste@freebsd.org> X-Mailer: git-send-email 1.9.0 X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 98.143.106.101 Cc: Ed Maste Subject: [Qemu-devel] [PATCH] vscclient: Restore sockets.h include to fix build on FreeBBSD 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 Commit 2a0c46d ("vscclient: use glib thread primitives not qemu") removed #include "qemu/sockets.h", required for socket-related function declarations and constants. Signed-off-by: Ed Maste --- libcacard/vscclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c index ab9b2b8..aa25061 100644 --- a/libcacard/vscclient.c +++ b/libcacard/vscclient.c @@ -12,10 +12,10 @@ #ifndef _WIN32 #include -#define closesocket(x) close(x) #endif #include "qemu-common.h" +#include "qemu/sockets.h" #include "vscard_common.h"