]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include/statfs_magic.h: add portable struct statfs headers for Darwin
authorMorgan Jones <me@numin.it>
Mon, 6 Apr 2026 01:03:54 +0000 (18:03 -0700)
committerKarel Zak <kzak@redhat.com>
Tue, 7 Apr 2026 12:43:01 +0000 (14:43 +0200)
commit1af964d935012707205fa66c3b404573271d9d06
tree1dcbf18854f01ac9d4329c968b1676bcd8639f77
parent34c42694e90419b299c07d2eb1ac598a914c1e96
include/statfs_magic.h: add portable struct statfs headers for Darwin

Fixes the build on Darwin since struct statfs is in sys/mount.h
and sys/vfs.h doesn't even exist. Just conditionally include all the
headers.

[kzak@redhat.com: - removed lib/pidfd-utils.c change]

Signed-off-by: Karel Zak <kzak@redhat.com>
include/statfs_magic.h