diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/iov.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/util/iov.c b/util/iov.c index 03934da74d..6569b5aae1 100644 --- a/util/iov.c +++ b/util/iov.c @@ -17,14 +17,7 @@ */ #include "qemu/iov.h" - -#ifdef _WIN32 -# include <windows.h> -# include <winsock2.h> -#else -# include <sys/types.h> -# include <sys/socket.h> -#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) |