Re: [PATCH 1/2] configure: Base NEED_INTERNAL_STATX on libc headers first

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux