X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2Fattr-xattr.in.h;h=7ec410b293d7128dfdbcbbc60731ffa009f2a8f8;hb=5cb79ed51999e36add131116d3d3db586be9870e;hp=b5796fe2255650acc6fda489844cfe7ec344bcb0;hpb=b997c90f9e3a64186341c57c8f3f25c2246d0ebb;p=chaz%2Ftar diff --git a/lib/attr-xattr.in.h b/lib/attr-xattr.in.h index b5796fe..7ec410b 100644 --- a/lib/attr-xattr.in.h +++ b/lib/attr-xattr.in.h @@ -1,5 +1,5 @@ /* Replacement for platforms that lack it. - Copyright (C) 2012 Free Software Foundation, Inc. + Copyright 2012-2013 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 @@ -17,6 +17,9 @@ #ifndef TAR_ATTR_XATTR_H #define TAR_ATTR_XATTR_H #include +#ifndef ENOATTR +# define ENOATTR ENODATA /* No such attribute */ +#endif /* setting */ static inline int setxattr (const char *path, const char *name, const void @@ -55,4 +58,3 @@ static inline ssize_t flistxattr (int filedes, char *list, size_t size) { errno = ENOTSUP; return -1; } #endif -