[PATCH 0/1] 9pfs: include linux/limits.h for XATTR_SIZE_MAX

Dan Robertson posted 1 patch 5 years, 6 months ago
Test docker-mingw@fedora passed
Test checkpatch passed
Test asan passed
Test docker-quick@centos7 passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200515203015.7090-1-dan@dlrobertson.com
Maintainers: Christian Schoenebeck <qemu_oss@crudebyte.com>, Greg Kurz <groug@kaod.org>
hw/9pfs/9p.c | 1 +
1 file changed, 1 insertion(+)
[PATCH 0/1] 9pfs: include linux/limits.h for XATTR_SIZE_MAX
Posted by Dan Robertson 5 years, 6 months ago
When compliling qemu with `--enable-virtfs` and musl libc, XATTR_SIZE_MAX
is undeclared in v9fs_xattrcreate. Things compile fine with glibc as
linux/limits.h is indirectly included via dirent.h.

Dan Robertson (1):
  9pfs: include linux/limits.h for XATTR_SIZE_MAX

 hw/9pfs/9p.c | 1 +
 1 file changed, 1 insertion(+)