#ifndef TAR_ATTR_XATTR_H
#define TAR_ATTR_XATTR_H
#include <errno.h>
+#ifndef ENOATTR
+# define ENOATTR ENODATA /* No such attribute */
+#endif
/* setting */
static inline int setxattr (const char *path, const char *name, const void
{ errno = ENOTSUP; return -1; }
#endif
-