[LTP] [PATCH] resource: explicitly define _LARGEFILE64_SOURCE

Petr Vorel pvorel@suse.cz
Fri Feb 28 11:19:37 CET 2025


Hi Li,

> Fix compilation errors on Alpine Linux (musl) by explicitly defining
> _LARGEFILE64_SOURCE instead of _GNU_SOURCE. This ensures that 64-bit
> resource limit structures (e.g., struct rlimit64) are properly exposed
> in <sys/resource.h>.

> To resolve the compiling error on Alpine:
>   https://github.com/linux-test-project/ltp/actions/runs/13580985467/job/37966850497

I dared to merge to fix the CI.
Thank you for the fix!

Kind regards,
Petr


More information about the ltp mailing list