FreeBSD: Fix bootstrapping tools under Linux/musl
commitd9cb42da999e77a2ea3ee5488a5ca0f4c27db2fe
authorVal Packett <val@packett.cool>
Fri, 19 Jan 2024 21:01:26 +0000 (19 18:01 -0300)
committerGitHub <noreply@github.com>
Fri, 19 Jan 2024 21:01:26 +0000 (19 13:01 -0800)
tree25303a44139086f675606acd61bf46260b1ac8f1
parenta0b2a93c41b0b0d7723d1b20eb1eca7a1a63e45b
FreeBSD: Fix bootstrapping tools under Linux/musl

musl libc has deprecated LFS64 aliases, so bootstrapping FreeBSD tools
under musl distros has been failing with stat64 errors.

Apply the aliases under non-glibc Linux to fix this problem.

Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Val Packett <val@packett.cool>
Closes #15780
lib/libspl/include/os/freebsd/sys/stat.h