aboutsummaryrefslogtreecommitdiffstats
path: root/main/samba/uclibc-xattr-create.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/samba/uclibc-xattr-create.patch')
-rw-r--r--main/samba/uclibc-xattr-create.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/samba/uclibc-xattr-create.patch b/main/samba/uclibc-xattr-create.patch
new file mode 100644
index 0000000000..d4de15d2f2
--- /dev/null
+++ b/main/samba/uclibc-xattr-create.patch
@@ -0,0 +1,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
+