]> xenbits.xensource.com Git - osstest/rumprun.git/commitdiff
Do not include <sys/uio.h> here.
authorAntti Kantee <pooka@iki.fi>
Mon, 12 Oct 2015 16:16:53 +0000 (16:16 +0000)
committerAntti Kantee <pooka@iki.fi>
Mon, 12 Oct 2015 16:16:53 +0000 (16:16 +0000)
This code runs under libc.

XXX: should migrate to a newer version of the virtif_user interface,
so that iovec is not required at all.

platform/xen/rumpxenif/xenif_user.c

index 7b99b674e5da0c06eb1647a06942d957870c06cb..27e354af42218395af0cd2deec700369de3da9b4 100644 (file)
  * SUCH DAMAGE.
  */
 
-#include <sys/uio.h>
+/* XXX */
+struct iovec {
+       void *iov_base;
+       unsigned long iov_len;
+};
 
 #include <mini-os/os.h>
 #include <mini-os/netfront.h>