summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-03-07 17:55:45 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2021-03-07 18:30:08 -0800
commitf51461d8be7ae89388dd0ffd8c9be4572e81bbc6 (patch)
treee5d927a273e40999dca3f31f96f903dbe412958b
parent6efa8de40959ce64f5afad30e1bfa92cc27f8a8d (diff)
downloadtar-f51461d8be7ae89388dd0ffd8c9be4572e81bbc6.tar.gz
Port xattr-at.h to AIX 7.1
* lib/xattr-at.h: Include <errno.h> before testing whether ENOATTR is defined.
-rw-r--r--lib/xattr-at.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xattr-at.h b/lib/xattr-at.h
index cab43958..1b93244d 100644
--- a/lib/xattr-at.h
+++ b/lib/xattr-at.h
@@ -26,6 +26,7 @@
# include <attr/xattr.h>
#endif
+#include <errno.h>
#ifndef ENOATTR
# define ENOATTR ENODATA /* No such attribute */
#endif