summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Maste2014-06-18 14:58:00 +0200
committerMichael Tokarev2014-06-24 18:01:24 +0200
commit18b1afa8741964cd6a9aa73e6c1447c49b1abd86 (patch)
treedb2178092aea1e94af8cd270a2dd4ded7afce552
parenttarget-ppc: Fix compiler warning (diff)
downloadqemu-18b1afa8741964cd6a9aa73e6c1447c49b1abd86.tar.gz
qemu-18b1afa8741964cd6a9aa73e6c1447c49b1abd86.tar.xz
qemu-18b1afa8741964cd6a9aa73e6c1447c49b1abd86.zip
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>
-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