aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/fs.c
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-01-31 11:47:02 +0000
committerLewis Russell <lewis6991@gmail.com>2023-02-01 11:14:20 +0000
commitb3d304df93347ef3f585ae91ae9ff6f5f28651af (patch)
tree1512649a15be5d7bd3ae6a97e38c348bfd6e333d /src/nvim/os/fs.c
parentc1a3865c476844e1b30200e2e7f3f9f2fa682329 (diff)
downloadrneovim-b3d304df93347ef3f585ae91ae9ff6f5f28651af.tar.gz
rneovim-b3d304df93347ef3f585ae91ae9ff6f5f28651af.tar.bz2
rneovim-b3d304df93347ef3f585ae91ae9ff6f5f28651af.zip
refactor(fileio.c): remove HAVE_ACL ifdefs
Diffstat (limited to 'src/nvim/os/fs.c')
-rw-r--r--src/nvim/os/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index 302faa8140..8915b0de3e 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -788,6 +788,7 @@ int os_setperm(const char *const name, int perm)
# ifdef HAVE_SYS_ACCESS_H
# include <sys/access.h>
# endif
+#endif
// Return a pointer to the ACL of file "fname" in allocated memory.
// Return NULL if the ACL is not available for whatever reason.
@@ -811,7 +812,6 @@ void os_free_acl(vim_acl_T aclent)
return;
}
}
-#endif
#ifdef UNIX
/// Checks if the current user owns a file.