[5894] The configure test for struct iovec #includes <sys/uio.h> but qemu-common.h did not.
Revision: 5894
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5894 Author: blueswir1 Date: 2008-12-06 19:44:56 +0000 (Sat, 06 Dec 2008)
Log Message:
-----------
The configure test for struct iovec #includes <sys/uio.h> but qemu-common.h did not.
This fixes compilation of hw/virtio.h on Mac OS X.
Signed-off-by Andreas Faerber <[email protected]>
Modified Paths:
--------------
trunk/qemu-common.h
Modified: trunk/qemu-common.h
===================================================================
qemu-common.h +2 -0
@@ -35,6 +35,8 @@void *iov_base; size_t iov_len; }; +#else +#include <sys/uio.h> #endif #ifdef _WIN32