]> Dogcows Code - chaz/tar/blobdiff - lib/attr-xattr.in.h
Update copyright years.
[chaz/tar] / lib / attr-xattr.in.h
index b5796fe2255650acc6fda489844cfe7ec344bcb0..845ee881d402554329d72aa55af339fd58f73454 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -17,6 +17,9 @@
 #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
@@ -55,4 +58,3 @@ static inline ssize_t flistxattr (int filedes, char *list, size_t size)
 { errno = ENOTSUP; return -1; }
 
 #endif
-
This page took 0.018525 seconds and 4 git commands to generate.