aports/main/samba/uclibc-xattr-create.patch
2014-02-24 14:06:16 +00:00

16 lines
304 B
Diff

--- ./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