diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-01-11 19:34:29 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-01-13 10:37:00 +0000 |
commit | 822b635d903306e2ea0b7f835d4a5afc3a66e996 (patch) | |
tree | 505aa0409739e20773eb1518a26ca3a31e4fd64a /fsdev/virtfs-proxy-helper.c | |
parent | f46cee374218dc5ebda3e7aa6996ef7f1b90eb7c (diff) |
virtfs-proxy-helper: Fix compilation on newer systems
Include file attr/xattr.h is not available on "newer" systems
(for example Fedora 12 or Debian Squeeze).
See comments in qemu-xattr.h for more information.
This file handles the system dependencies automatically.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'fsdev/virtfs-proxy-helper.c')
-rw-r--r-- | fsdev/virtfs-proxy-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c index 7f8def5b5d..ce7eb79d75 100644 --- a/fsdev/virtfs-proxy-helper.c +++ b/fsdev/virtfs-proxy-helper.c @@ -27,13 +27,13 @@ #include <stdbool.h> #include <sys/vfs.h> #include <sys/stat.h> -#include <attr/xattr.h> #include <sys/ioctl.h> #include <linux/fs.h> #ifdef CONFIG_LINUX_MAGIC_H #include <linux/magic.h> #endif #include "qemu-common.h" +#include "qemu-xattr.h" #include "virtio-9p-marshal.h" #include "hw/9pfs/virtio-9p-proxy.h" #include "fsdev/virtio-9p-marshal.h" |