[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/9] util/iov: Use qemu/sockets.h instead of conditi
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH 1/9] util/iov: Use qemu/sockets.h instead of conditional code |
Date: |
Sun, 23 Feb 2014 18:02:07 +0100 |
Signed-off-by: Stefan Weil <address@hidden>
---
util/iov.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/util/iov.c b/util/iov.c
index bb46c04..3996300 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)
--
1.7.10.4
- Re: [Qemu-devel] [PATCH 9/9] w32: Replace Windows specific data types in common header files, (continued)
- [Qemu-devel] [PATCH 5/9] vl: Remove unneeded include file, Stefan Weil, 2014/02/23
- [Qemu-devel] [PATCH 2/9] exec: Remove unneeded include files, Stefan Weil, 2014/02/23
- [Qemu-devel] [PATCH 8/9] w32: Reduce dependencies in sysemu/os-win32.h, Stefan Weil, 2014/02/23
- [Qemu-devel] [PATCH 7/9] w32: Move inline function from header file to C source, Stefan Weil, 2014/02/23
- [Qemu-devel] [PATCH 1/9] util/iov: Use qemu/sockets.h instead of conditional code,
Stefan Weil <=
- Re: [Qemu-devel] [PATCH 0/9] w32: Reduce dependency on Windows API, Stefan Weil, 2014/02/25