* [Qemu-devel] [PATCH] vscclient: Restore sockets.h include to fix build on FreeBBSD
@ 2014-06-17 19:23 Ed Maste
2014-06-18 13:03 ` Ed Maste
0 siblings, 1 reply; 2+ messages in thread
From: Ed Maste @ 2014-06-17 19:23 UTC (permalink / raw)
To: qemu-devel; +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 <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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-18 13:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-17 19:23 [Qemu-devel] [PATCH] vscclient: Restore sockets.h include to fix build on FreeBBSD Ed Maste
2014-06-18 13:03 ` Ed Maste
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).