diff options
author | Greg Kurz <gkurz@linux.vnet.ibm.com> | 2016-07-01 14:38:54 +0200 |
---|---|---|
committer | Greg Kurz <groug@kaod.org> | 2016-07-01 14:38:54 +0200 |
commit | 8d85a22aab279f827af0c68c0459642fcd613c8c (patch) | |
tree | 1010ed98299abef7e94e3e8ae6229dcc0e2b52a8 /fsdev/file-op-9p.h | |
parent | 94e31093ff34ead50dc3970699a4e36582fb3f17 (diff) | |
download | qemu-8d85a22aab279f827af0c68c0459642fcd613c8c.zip |
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/file-op-9p.h')
-rw-r--r-- | fsdev/file-op-9p.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 <dirent.h> #include <utime.h> -#include <sys/uio.h> #include <sys/vfs.h> #define SM_LOCAL_MODE_BITS 0600 |