]> Dogcows Code - chaz/tar/blobdiff - lib/attr-xattr.in.h
build: new configure option --enable-gcc-warnings
[chaz/tar] / lib / attr-xattr.in.h
index b5796fe2255650acc6fda489844cfe7ec344bcb0..3890b5e40e52e75b6235fdcda65a6aa99ead43d8 100644 (file)
@@ -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.021397 seconds and 4 git commands to generate.