aboutsummaryrefslogtreecommitdiffstats
path: root/main/qemu/uclibc-xattr-create.patch
blob: 53cc1dfe23aaea0a4032192f23a95b0dbf88b7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- ./include/qemu/xattr.h.orig
+++ ./include/qemu/xattr.h
@@ -24,6 +24,13 @@
 #  include <attr/xattr.h>
 #else
 #  define ENOATTR ENODATA
+/* workaround for uclibc */
+#  ifdef XATTR_CREATE
+#    undef XATTR_CREATE
+#  endif
+#  ifdef XATTR_REPLACE
+#    undef XATTR_REPLACE
+#  endif
 #  include <sys/xattr.h>
 #endif