Skip to contentSkip to conversation

[5894] The configure test for struct iovec #includes <sys/uio.h> but qemu-common.h did not.

Qemu-devel Blue Swirl 1 participant 1 message Dec 6, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

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.

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