Commit 822b635d authored by Stefan Weil's avatar Stefan Weil Committed by Stefan Hajnoczi
Browse files

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: default avatarStefan Weil <sw@weilnetz.de>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
parent f46cee37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"