From bf9298b90eee0b95cab11fc74790dcbddca4252e Mon Sep 17 00:00:00 2001 From: aliguori Date: Fri, 5 Dec 2008 20:05:26 +0000 Subject: Make struct iovec universally available Vectored IO APIs will require some sort of vector argument. It makes sense to use struct iovec and just define it globally for Windows. Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5889 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/virtio.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'hw/virtio.h') diff --git a/hw/virtio.h b/hw/virtio.h index 0aa3b09c4f..83511e2cb0 100644 --- a/hw/virtio.h +++ b/hw/virtio.h @@ -17,15 +17,6 @@ #include "hw.h" #include "pci.h" -#ifdef _WIN32 -struct iovec { - void *iov_base; - size_t iov_len; -}; -#else -#include -#endif - /* from Linux's linux/virtio_config.h */ /* Status byte for guest to report progress, and synchronize features. */ -- cgit v1.2.1