[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5894] The configure test for struct iovec #includes <sys/u
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [5894] The configure test for struct iovec #includes <sys/uio.h> but qemu-common.h did not. |
Date: |
Sat, 06 Dec 2008 19:44:57 +0000 |
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 <address@hidden>
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5894] The configure test for struct iovec #includes <sys/uio.h> but qemu-common.h did not.,
Blue Swirl <=