* [Qemu-devel] [5894] The configure test for struct iovec #includes <sys/uio.h> but qemu-common.h did not.
@ 2008-12-06 19:44 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-12-06 19:44 UTC (permalink / raw)
To: qemu-devel
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 <andreas.faerber@web.de>
Modified Paths:
--------------
trunk/qemu-common.h
Modified: trunk/qemu-common.h
===================================================================
--- trunk/qemu-common.h 2008-12-06 16:37:18 UTC (rev 5893)
+++ trunk/qemu-common.h 2008-12-06 19:44:56 UTC (rev 5894)
@@ -35,6 +35,8 @@
void *iov_base;
size_t iov_len;
};
+#else
+#include <sys/uio.h>
#endif
#ifdef _WIN32
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-06 19:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-06 19:44 [Qemu-devel] [5894] The configure test for struct iovec #includes <sys/uio.h> but qemu-common.h did not Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).