提交 18b1afa8 编写于 作者: E Ed Maste 提交者: Michael Tokarev

vscclient: Add required headers to fix build on FreeBSD

Signed-off-by: NEd Maste <emaste@freebsd.org>
Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 0211b5cf
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
*/ */
#ifndef _WIN32 #ifndef _WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h> #include <netdb.h>
#define closesocket(x) close(x) #define closesocket(x) close(x)
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册