]> Git Repo - qemu.git/commitdiff
util/iov: Use qemu/sockets.h instead of conditional code
authorStefan Weil <[email protected]>
Sun, 23 Feb 2014 17:02:07 +0000 (18:02 +0100)
committerMichael Tokarev <[email protected]>
Mon, 3 Mar 2014 05:46:27 +0000 (09:46 +0400)
Signed-off-by: Stefan Weil <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Reviewed-by: Andreas Färber <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
util/iov.c

index 03934da74dc280d3692c21e0db607fbf4ddbe6b7..6569b5aae1ca001daa8f0f4322efd3cd7d886871 100644 (file)
  */
 
 #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)
This page took 0.027717 seconds and 4 git commands to generate.