diff options
author | Sam James <sam@gentoo.org> | 2022-08-16 01:43:34 +0100 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2024-03-26 01:23:54 +0000 |
commit | c8ec7d1987a20d06ab7415971cfcfa23827285ab (patch) | |
tree | 9440fbb0ea66c49f810071634afc8ba3d13ac46d /setcifsacl.rst.in | |
parent | 25d6552c7d8b9fe2ca9dbf85c74c9330e4dd7770 (diff) | |
download | cifs-utils-c8ec7d1987a20d06ab7415971cfcfa23827285ab.tar.gz cifs-utils-c8ec7d1987a20d06ab7415971cfcfa23827285ab.tar.bz2 cifs-utils-c8ec7d1987a20d06ab7415971cfcfa23827285ab.zip |
getcifsacl, setcifsacl: add missing <linux/limits.h> include for XATTR_SIZE_MAX
Needed to build on musl. It only works on glibc because of transitive includes
(which could break in future).
Example failure:
```
getcifsacl.c: In function 'getcifsacl':
getcifsacl.c:429:24: error: 'XATTR_SIZE_MAX' undeclared (first use in this function)
429 | if (bufsize >= XATTR_SIZE_MAX) {
| ^~~~~~~~~~~~~~
```
Bug: https://bugs.gentoo.org/842195
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'setcifsacl.rst.in')
0 files changed, 0 insertions, 0 deletions