/* Replacement <attr/xattr.h> for platforms that lack it.
- Copyright (C) 2012 Free Software Foundation, Inc.
+ Copyright 2012-2014 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#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
-