aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/fs.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-09-30 21:19:12 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-09-30 22:09:55 +0800
commit5c60fbe9db0005d10d87ba60a981fd41f85f8df5 (patch)
treecea40ee1e822576a21ed3ef7d00ef474186f5720 /src/nvim/os/fs.c
parentf6e72c3dfed83b02483976eaedb27819df9a878d (diff)
downloadrneovim-5c60fbe9db0005d10d87ba60a981fd41f85f8df5.tar.gz
rneovim-5c60fbe9db0005d10d87ba60a981fd41f85f8df5.tar.bz2
rneovim-5c60fbe9db0005d10d87ba60a981fd41f85f8df5.zip
vim-patch:9.0.1963: Configure script may not detect xattr
Problem: Configure script may not detect xattr correctly Solution: include sys/xattr instead of attr/xattr, make Test_write_with_xattr_support() test xattr feature correctly This also applies to the Smack security feature, so change the include and configure script for it as well. closes: vim/vim#13229 https://github.com/vim/vim/commit/6de4e58cf27a3bb6e81653ca63b77e29d1bb46f2
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 3efb575039..93cc7de040 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -30,7 +30,7 @@
#endif
#ifdef HAVE_XATTR
-# include <attr/xattr.h>
+# include <sys/xattr.h>
# define XATTR_VAL_LEN 1024
#endif