]> git.pld-linux.org Git - packages/qemu.git/blob - qemu-xattr.patch
- updated to 7.1.0
[packages/qemu.git] / qemu-xattr.patch
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 --- qemu-7.1.0/fsdev/virtfs-proxy-helper.c.orig 2022-08-30 18:41:57.000000000 +0200
7 +++ qemu-7.1.0/fsdev/virtfs-proxy-helper.c      2022-10-05 16:48:32.493170549 +0200
8 @@ -10,6 +10,7 @@
9   */
10  
11  #include "qemu/osdep.h"
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 <cap-ng.h>
19  #include "qemu/sockets.h"
20 -#include "qemu/xattr.h"
21  #include "9p-iov-marshal.h"
22  #include "hw/9pfs/9p-proxy.h"
23  #include "fsdev/9p-iov-marshal.h"
This page took 0.416223 seconds and 4 git commands to generate.