From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Ed Maste Date: Tue, 17 Jun 2014 15:23:58 -0400 Message-Id: <1403033038-17622-1-git-send-email-emaste@freebsd.org> Subject: [Qemu-devel] [PATCH] vscclient: Restore sockets.h include to fix build on FreeBBSD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Ed Maste 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" -- 1.9.0