Fix build issue with GLIBC 2.36

The sys/mount.h and linux/mount.h (included by linux/fs.h) are incompatible
in glibc 2.36 as both declare fsconfig_command.
Anyway, sys/mount.h is needed only in darwin for statfs and we can avoid to
include it in linux.
This commit is contained in:
Andrea Mazzoleni 2022-08-17 16:36:29 +02:00
parent 3ab8b43907
commit 986e16b4e8
2 changed files with 39 additions and 18 deletions

View file

@ -1,6 +1,10 @@
SnapRAID HISTORY
================
12.2 2022/08
============
* Fix build issue with GLIBC 2.36
12.1 2022/01
============
* Reduce stack usage to work in environments with limited stack size, like MUSL.