]>
Commit | Line | Data |
---|---|---|
c66fb109 JB |
1 | Workaround <linux/xattr.h> vs <sys/xattr.h> defines conflict: |
2 | When including both, the latter must be included first. | |
3 | Move "qemu-xattr.h" (which includes <sys/xattr.h> to the front, | |
4 | before <sys/capability.h> (which includes <linux/xattr.h>. | |
5 | ||
6 | --- xen-4.3.2/tools/qemu-xen/fsdev/virtfs-proxy-helper.c.orig 2013-10-10 16:20:18.000000000 +0200 | |
7 | +++ xen-4.3.2/tools/qemu-xen/fsdev/virtfs-proxy-helper.c 2014-02-24 11:31:45.912924912 +0100 | |
8 | @@ -9,6 +9,7 @@ | |
9 | * the COPYING file in the top-level directory. | |
10 | */ | |
11 | ||
12 | +#include "qemu-xattr.h" | |
13 | #include <sys/resource.h> | |
14 | #include <getopt.h> | |
15 | #include <syslog.h> | |
16 | @@ -22,7 +23,6 @@ | |
17 | #endif | |
18 | #include "qemu-common.h" | |
19 | #include "qemu_socket.h" | |
20 | -#include "qemu-xattr.h" | |
21 | #include "virtio-9p-marshal.h" | |
22 | #include "hw/9pfs/virtio-9p-proxy.h" | |
23 | #include "fsdev/virtio-9p-marshal.h" |