aboutsummaryrefslogtreecommitdiff
path: root/libcacard
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2014-06-18 08:58:00 -0400
committerMichael Tokarev <mjt@tls.msk.ru>2014-06-24 20:01:24 +0400
commit18b1afa8741964cd6a9aa73e6c1447c49b1abd86 (patch)
treedb2178092aea1e94af8cd270a2dd4ded7afce552 /libcacard
parent0211b5cf2d933e10b5916b203fc3fad805a9a3c0 (diff)
vscclient: Add required headers to fix build on FreeBSD
Signed-off-by: Ed Maste <emaste@freebsd.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'libcacard')
-rw-r--r--libcacard/vscclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c
index ab9b2b82d6..80111df00c 100644
--- a/libcacard/vscclient.c
+++ b/libcacard/vscclient.c
@@ -11,6 +11,8 @@
*/
#ifndef _WIN32
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <netdb.h>
#define closesocket(x) close(x)
#endif