From: Stefan Weil Date: Wed, 11 Jan 2012 18:34:29 +0000 (+0100) Subject: virtfs-proxy-helper: Fix compilation on newer systems X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=822b635d903306e2ea0b7f835d4a5afc3a66e996;p=qemu-xen-4.5-testing.git 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 Signed-off-by: Stefan Hajnoczi --- diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c index 7f8def5b5..ce7eb79d7 100644 --- a/fsdev/virtfs-proxy-helper.c +++ b/fsdev/virtfs-proxy-helper.c @@ -27,13 +27,13 @@ #include #include #include -#include #include #include #ifdef CONFIG_LINUX_MAGIC_H #include #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"