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>
This commit is contained in:
Ed Maste 2014-06-18 08:58:00 -04:00 committed by Michael Tokarev
parent 0211b5cf2d
commit 18b1afa874

View File

@ -11,6 +11,8 @@
*/
#ifndef _WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#define closesocket(x) close(x)
#endif