Skip to contentSkip to conversation

vscclient: Add required headers to fix build on FreeBSD

PATCH Applied Ed Maste 4 participants 5 messages Jun 18, 2014 – Jun 21, 2014

lore
Share & tools
lore

Ed Maste

author
#0 lore raw

PATCH 1/1 vscclient: Add required headers to fix build on FreeBSD

---
 libcacard/vscclient.c | 2 ++
 1 file changed, 2 insertions(+)
libcacard/vscclient.c +2 -0
index ab9b2b8..80111df 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw

Il 18/06/2014 14:58, Ed Maste ha scritto:

Quoted 11 lines
---
 libcacard/vscclient.c | 2 ++
 1 file changed, 2 insertions(+)
libcacard/vscclient.c +0 -0
index ab9b2b8..80111df 100644

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
#2 lore raw

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
---
 libcacard/vscclient.c | 2 ++
 1 file changed, 2 insertions(+)
libcacard/vscclient.c +0 -0
index ab9b2b8..80111df 100644
@@ -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

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
author
#3 lore raw
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
---
 libcacard/vscclient.c | 2 ++
 1 file changed, 2 insertions(+)
libcacard/vscclient.c +0 -0
index ab9b2b8..80111df 100644
@@ -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
Quoted 1 line

Looks okay, CC'ing Alon and -trivial.

Ping - can we bring in this build fix other than by waiting on -trivial?