[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PULL 09/13] util/iov: Use qemu/sockets.h instead of cond

From: Michael Tokarev
Subject: [Qemu-trivial] [PULL 09/13] util/iov: Use qemu/sockets.h instead of conditional code
Date: Tue, 4 Mar 2014 10:15:57 +0400

From: Stefan Weil <address@hidden>

Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
 util/iov.c |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/util/iov.c b/util/iov.c
index 03934da..6569b5a 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>
-# include <sys/types.h>
-# include <sys/socket.h>
+#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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]