vscclient: Add required headers to fix build on FreeBSD
PATCH 1/1 vscclient: Add required headers to fix build on FreeBSD
Signed-off-by Ed Maste <[email protected]>
--- libcacard/vscclient.c | 2 ++ 1 file changed, 2 insertions(+)
libcacard/vscclient.c +2 -0
@@ -11,6 +11,8 @@*/ #ifndef _WIN32 +#include <sys/socket.h> +#include <netinet/in.h> #include <netdb.h> #define closesocket (x) close(x)#endif
Signature · 1 line
1.8.4
Il 18/06/2014 14:58, Ed Maste ha scritto:
Quoted 11 lines
Signed-off-by Ed Maste <[email protected]>--- libcacard/vscclient.c | 2 ++ 1 file changed, 2 insertions(+)libcacard/vscclient.c +0
-0
libcacard/vscclient.c line 18
Quoted 8 lines
libcacard/vscclient.c +2
-0@@ -11,6 +11,8 @@*/ #ifndef _WIN32 +#include <sys/socket.h> +#include <netinet/in.h> #include <netdb.h> #define closesocket (x) close(x)#endif
Reviewed-by Paolo Bonzini <[email protected]>
Am 18.06.2014 16:41, schrieb Paolo Bonzini:
Quoted 13 lines
Il 18/06/2014 14:58, Ed Maste ha scritto:
Quoted 12 lines
Signed-off-by Ed Maste <[email protected]>--- libcacard/vscclient.c | 2 ++ 1 file changed, 2 insertions(+)libcacard/vscclient.c +0
-0@@ -11,6 +11,8 @@*/
Quoted 9 lines
libcacard/vscclient.c line 18
Quoted 7 lines
libcacard/vscclient.c +2
-0#ifndef _WIN32 +#include <sys/socket.h> +#include <netinet/in.h> #include <netdb.h> #define closesocket (x) close(x)#endif Reviewed-by Paolo Bonzini <[email protected]>
Looks okay, CC'ing Alon and -trivial.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 24 lines · Andreas Färber
Am 18.06.2014 16:41, schrieb Paolo Bonzini:
Quoted 13 lines
Il 18/06/2014 14:58, Ed Maste ha scritto:
Quoted 12 lines
Signed-off-by Ed Maste <[email protected]>--- libcacard/vscclient.c | 2 ++ 1 file changed, 2 insertions(+)libcacard/vscclient.c +0
-0@@ -11,6 +11,8 @@*/ Quoted 9 lines
libcacard/vscclient.c line 18
Quoted 7 lines
libcacard/vscclient.c +2
-0#ifndef _WIN32 +#include <sys/socket.h> +#include <netinet/in.h> #include <netdb.h> #define closesocket (x) close(x)#endif Reviewed-by Paolo Bonzini <[email protected]>
Quoted 1 line
Looks okay, CC'ing Alon and -trivial.
Ping - can we bring in this build fix other than by waiting on -trivial?
Michael Tokarev
AppliedApplied to -trivial, thank you!
/mjt