--- ./lib/replace/system/filesys.h.orig +++ ./lib/replace/system/filesys.h @@ -122,6 +122,12 @@ #if HAVE_ATTR_XATTR_H #include #elif HAVE_SYS_XATTR_H +#ifdef XATTR_CREATE +#undef XATTR_CREATE +#endif +#ifdef XATTR_REPLACE +#undef XATTR_REPLACE +#endif #include #endif