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:
parent
0211b5cf2d
commit
18b1afa874
@ -11,6 +11,8 @@
|
||||
*/
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#define closesocket(x) close(x)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user