qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ed Maste <emaste@freebsd.org>
To: qemu-devel@nongnu.org
Cc: Ed Maste <emaste@freebsd.org>
Subject: [Qemu-devel] [PATCH] vscclient: Restore sockets.h include to fix build on FreeBBSD
Date: Tue, 17 Jun 2014 15:23:58 -0400	[thread overview]
Message-ID: <1403033038-17622-1-git-send-email-emaste@freebsd.org> (raw)

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 <emaste@freebsd.org>
---
 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 <netdb.h>
-#define closesocket(x) close(x)
 #endif
 
 #include "qemu-common.h"
+#include "qemu/sockets.h"
 
 #include "vscard_common.h"
 
-- 
1.9.0

             reply	other threads:[~2014-06-17 20:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-17 19:23 Ed Maste [this message]
2014-06-18 13:03 ` [Qemu-devel] [PATCH] vscclient: Restore sockets.h include to fix build on FreeBBSD Ed Maste

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1403033038-17622-1-git-send-email-emaste@freebsd.org \
    --to=emaste@freebsd.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).