zfs/lib/libspl/include/os/linux/sys
classabbyamp 31b9646681 linux: use sys/stat.h instead of linux/stat.h
glibc includes linux/stat.h for statx, but musl defines its own statx
struct and associated constants, which does not include STATX_MNT_ID
yet. Thus, including linux/stat.h directly should be avoided for
maximum libc compatibility.

Tested on:
  - glibc: x86_64, i686, aarch64, armv7l, armv6l
  - musl: x86_64, aarch64, armv7l, armv6l

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Tested-By: Achill Gilgenast <achill@achill.org>
Signed-off-by: classabbyamp <dev@placeviolette.net>
Closes #17675
2025-09-09 17:04:15 -07:00
..
ia32 SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
byteorder.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
errno.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mnttab.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mount.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
param.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
stat.h linux: use sys/stat.h instead of linux/stat.h 2025-09-09 17:04:15 -07:00
sysmacros.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_context_os.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00