From 8d85a22aab279f827af0c68c0459642fcd613c8c Mon Sep 17 00:00:00 2001 From: Greg Kurz Date: Fri, 1 Jul 2016 14:38:54 +0200 Subject: [PATCH] 9p: don't include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- fsdev/9p-iov-marshal.c | 1 - fsdev/9p-marshal.c | 1 - fsdev/file-op-9p.h | 1 - 3 files changed, 3 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 #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