]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: Require the sys/vfs.h header for libmount and fstrim
authorJordan Williams <jordan@jwillikers.com>
Mon, 8 Apr 2024 16:17:12 +0000 (11:17 -0500)
committerJordan Williams <jordan@jwillikers.com>
Tue, 9 Apr 2024 21:00:17 +0000 (16:00 -0500)
commitb8b63b36ac33f92be17a12370a0640ce5cf06a80
treed6be02d17698d56eac5c198ee509b2654b01dfe4
parent5ebf0edb0a0531cba801c7791543c610725bf944
meson: Require the sys/vfs.h header for libmount and fstrim

libmount and fstrim both include sys/vfs.h unconditionally.
To avoid an error at compile time, require this header for their
respective feature options to be enabled.
This avoids building them on systems without sys/vfs.h, such as macOS.

Fixes #2932.

Signed-off-by: Jordan Williams <jordan@jwillikers.com>
meson.build