aboutsummaryrefslogtreecommitdiffstats
path: root/main/samba/uclibc-xattr-create.patch
blob: d4de15d2f2dcc4979313d40ca0a4c9e440e26e0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ./lib/replace/system/filesys.h.orig
+++ ./lib/replace/system/filesys.h
@@ -122,6 +122,12 @@
 #if HAVE_ATTR_XATTR_H
 #include <attr/xattr.h>
 #elif HAVE_SYS_XATTR_H
+#ifdef XATTR_CREATE
+#undef XATTR_CREATE
+#endif
+#ifdef XATTR_REPLACE
+#undef XATTR_REPLACE
+#endif
 #include <sys/xattr.h>
 #endif