On Sat, Aug 09, 2025 at 07:13:07PM +0200, Johannes Nixdorf wrote: > At compile time the libc headers are preferred, and linux/stat.h is > only included if the libc headers don't provide a definition for statx > and its types (tested on STATX_TYPE). The configure test should be > based on the same logic. > > This fixes one cause for failing to compile against musl libc. > > Signed-off-by: Johannes Nixdorf <johannes@xxxxxxxxxxx> Looks good, it solves the issue for us. Reviewed-by: Petr Vaněk <arkamar@xxxxxxxxxx>