From: Greg Kurz Date: Fri, 1 Jul 2016 12:38:54 +0000 (+0200) Subject: 9p: don't include X-Git-Tag: qemu-xen-4.8.0-rc1~151^2~1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8d85a22aab279f827af0c68c0459642fcd613c8c;p=qemu-xen.git 9p: don't include The 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 Acked-by: Michael Fritscher Signed-off-by: Greg Kurz --- 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 #include -#include #include "9p-iov-marshal.h" #include "qemu/bswap.h" diff --git a/fsdev/9p-marshal.c b/fsdev/9p-marshal.c index f56ef0e60c..238dbf21b1 100644 --- a/fsdev/9p-marshal.c +++ b/fsdev/9p-marshal.c @@ -15,7 +15,6 @@ #include #include #include -#include #include "9p-marshal.h" diff --git a/fsdev/file-op-9p.h b/fsdev/file-op-9p.h index 5561494974..b1338ba06c 100644 --- a/fsdev/file-op-9p.h +++ b/fsdev/file-op-9p.h @@ -14,7 +14,6 @@ #define _FILEOP_H #include #include -#include #include #define SM_LOCAL_MODE_BITS 0600