vscclient: Restore sockets.h include to fix build on FreeBBSD
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.
Signed-off-by Ed Maste <[email protected]>
--- libcacard/vscclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libcacard/vscclient.c +1 -1
@@ -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
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.