mirror_zfs/lib
Alexander Moch bbbf438d66
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>

Closes #17675
(cherry picked from commit ccf5a8a6fc)

Signed-off-by: classabbyamp <dev@placeviolette.net>
Signed-off-by: Alexander Moch <mail@alexmoch.com>
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
2025-12-09 11:58:45 -08:00
..
libavl cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libefi SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libicp icp: remove skein module 2024-05-31 15:13:39 -07:00
libnvpair SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libshare SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
libspl linux: use sys/stat.h instead of linux/stat.h 2025-12-09 11:58:45 -08:00
libtpool SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libunicode cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libuutil SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzdb Provide macros for setting and getting blkptr birth times 2024-03-25 15:01:54 -07:00
libzfs Expose dataset encryption status via fast stat path 2025-06-17 10:49:40 -07:00
libzfs_core Expose dataset encryption status via fast stat path 2025-06-17 10:49:40 -07:00
libzfsbootenv SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzpool abd_os: move headers from libzpool to libspl 2025-06-17 10:50:26 -07:00
libzstd libzstd: also build with LIBZPOOL_CPPFLAGS 2024-09-09 14:13:27 -07:00
libzutil SPDX: license tags: BSD-3-Clause 2025-04-16 09:59:44 -07:00
Makefile.am libzdb: Initial breakout of libzdb 2024-02-05 10:00:41 -08:00