aboutsummaryrefslogtreecommitdiff
path: root/fsdev/9p-iov-marshal.c
diff options
context:
space:
mode:
authorGreg Kurz <gkurz@linux.vnet.ibm.com>2016-07-01 14:38:54 +0200
committerGreg Kurz <groug@kaod.org>2016-07-01 14:38:54 +0200
commit8d85a22aab279f827af0c68c0459642fcd613c8c (patch)
tree1010ed98299abef7e94e3e8ae6229dcc0e2b52a8 /fsdev/9p-iov-marshal.c
parent94e31093ff34ead50dc3970699a4e36582fb3f17 (diff)
9p: don't include <sys/uio.h>
The <sys/uio.h> system header doesn't exist on all host platforms. Code should include "qemu/osdep.h" instead to avoid build breaks on plafforms that don't define CONFIG_IOVEC (like win32, if it is to support 9p one day). Acked-by: Cédric Le Goater <clg@kaod.org> Acked-by: Michael Fritscher <michael@fritscher.net> Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Diffstat (limited to 'fsdev/9p-iov-marshal.c')
-rw-r--r--fsdev/9p-iov-marshal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fsdev/9p-iov-marshal.c b/fsdev/9p-iov-marshal.c
index fce1ee9e55..584082b5d6 100644
--- a/fsdev/9p-iov-marshal.c
+++ b/fsdev/9p-iov-marshal.c
@@ -14,7 +14,6 @@
#include "qemu/osdep.h"
#include <glib/gprintf.h>
#include <utime.h>
-#include <sys/uio.h>
#include "9p-iov-marshal.h"
#include "qemu/bswap.h"