projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
file-has-acl: use acl_extended_file_nofollow if available
[gnulib.git]
/
lib
/
acl-internal.h
diff --git
a/lib/acl-internal.h
b/lib/acl-internal.h
index
b3160a7
..
b509666
100644
(file)
--- a/
lib/acl-internal.h
+++ b/
lib/acl-internal.h
@@
-133,6
+133,12
@@
rpl_acl_set_fd (int fd, acl_t acl)
# endif
/* Linux-specific */
# endif
/* Linux-specific */
+# ifndef HAVE_ACL_EXTENDED_FILE_NOFOLLOW
+# define HAVE_ACL_EXTENDED_FILE_NOFOLLOW false
+# define acl_extended_file_nofollow(name) (-1)
+# endif
+
+/* Linux-specific */
# ifndef HAVE_ACL_FROM_MODE
# define HAVE_ACL_FROM_MODE false
# define acl_from_mode(mode) (NULL)
# ifndef HAVE_ACL_FROM_MODE
# define HAVE_ACL_FROM_MODE false
# define acl_from_mode(mode) (NULL)