Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libcomposefs: include linux/limits.h to satisfy usage of XATTR_NAME_MAX
XATTR_NAME_MAX is defined in linux/limits.h, but leaked by glibc since its sys/param.h includes the former header, which is not true on musl and leads to errors like: ../libcomposefs/lcfs-writer.c:1688:16: error: use of undeclared identifier 'XATTR_NAME_MAX' 1688 | if (namelen > XATTR_NAME_MAX) { Include linux/limits.h explicitly to build properly on musl. Signed-off-by: Yao Zi <[email protected]>
- Loading branch information