mirror_zfs/lib/libspl
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
..
asm-generic Unify target_cpu handling 2020-01-17 12:40:09 -08:00
asm-i386 Fix atomic_sub_64() i386 assembly implementation 2017-02-01 09:36:47 -08:00
asm-x86_64 Make asm-x86_64/atomic.S build on FreeBSD 2019-11-30 15:42:00 -08:00
include sys/mnttab.h: include sys/stat.h for stat64 2020-04-14 11:47:40 -07:00
os Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
list.c Add linux libspl support 2010-08-31 13:41:59 -07:00
Makefile.am Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
mkdirp.c Fix typos in lib/ 2019-09-02 17:53:27 -07:00
page.c ABD optimized page allocation code 2016-11-29 14:34:33 -08:00
strlcat.c Check for strlcat and strlcpy 2018-12-11 16:01:41 -08:00
strlcpy.c Check for strlcat and strlcpy 2018-12-11 16:01:41 -08:00
timestamp.c Fix zpool iostat -T d 1 on musl 2017-04-12 08:57:46 -07:00
zone.c libspl: declare aok extern in header 2019-12-26 10:52:14 -08:00