Skip to contentSkip to conversation

vscclient: Restore sockets.h include to fix build on FreeBBSD

PATCH In review Ed Maste 1 participant 2 messages Jun 17, 2014 – Jun 18, 2014

lore
Share & tools
lore

Ed Maste

author
#0 lore raw

PATCH 1/1 vscclient: Restore sockets.h include to fix build on FreeBBSD

Commit 2a0c46d ("vscclient: use glib thread primitives not qemu") removed #include "qemu/sockets.h", required for socket-related function declarations and constants.

---
 libcacard/vscclient.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libcacard/vscclient.c +1 -1
index ab9b2b8..aa25061 100644
@@ -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"
 
Signature · 1 line
1.9.0
author
#1 lore raw
Quoted 3 lines · Ed Maste

Commit 2a0c46d ("vscclient: use glib thread primitives not qemu") removed #include "qemu/sockets.h", required for socket-related function declarations and constants.

Disregard this patch; a replacement has been sent to add the two required headers.