summaryrefslogtreecommitdiff
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
commitf278a796096814d74fcca903e043e5fd2f55e60c (patch)
tree168d9d4116f8abd12f01ea389dea684792026901
parentc1f1260170a08d94eeba6f07570876edf3895a8d (diff)
vscclient: Add required headers to fix build on FreeBSDv2.1.0-rc5v2.1.0-rc4v2.1.0-rc3v2.1.0-rc2v2.1.0-rc1v2.1.0-rc0v2.1.0
Signed-off-by: Ed Maste <emaste@freebsd.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--libcacard/vscclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c
index ab9b2b8..80111df 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