Add support for old Linux statfs.

This commit is contained in:
2021-05-11 21:39:27 +01:00
parent a4b045ff9c
commit aed413edff
4 changed files with 54 additions and 22 deletions

View File

@@ -58,7 +58,7 @@ LFLAGS =
# Compiler flags. This needs the definitions on how to find statfs.h as there is no autodetection
# BSD 2.11 defines statfs to be in sys/mount.h
CFLAGS = -DHAVE_SYS_MOUNT_H -DHAVE_STATFS_FTYPENAME -DHAVE_STATFS_FTYPE -DNEED_SYS_TYPES_H
CFLAGS = -DHAVE_SYS_MOUNT_H -DHAVE_STATFS_TYPENAME -DHAVE_STATFS_TYPE -DNEED_SYS_TYPES_H
all: fssetter