mirror_zfs/lib/libspl/include/os/linux
alaviss 6b1139e82c
sys/mnttab.h: include sys/stat.h for stat64
Musl libc defined `stat64` as a macro, which causes the build to fail
upon compiling os/linux/getmntany.c due to conflicts between the forward
declaration and the implementation.

This commit fixes that by including <sys/stat.h> in "sys/mnttab.h"
directly.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Hiếu Lê <leorize+oss@disroot.org>
Closes #10195
2020-04-14 11:47:40 -07:00
..
sys sys/mnttab.h: include sys/stat.h for stat64 2020-04-14 11:47:40 -07:00
Makefile.am OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00