diff --git a/util/iov.c b/util/iov.c index 03934da74dc280d3692c21e0db607fbf4ddbe6b7..6569b5aae1ca001daa8f0f4322efd3cd7d886871 100644 --- a/util/iov.c +++ b/util/iov.c @@ -17,14 +17,7 @@ */ #include "qemu/iov.h" - -#ifdef _WIN32 -# include -# include -#else -# include -# include -#endif +#include "qemu/sockets.h" size_t iov_from_buf(const struct iovec *iov, unsigned int iov_cnt, size_t offset, const void *buf, size_t bytes)