Hello, On GNU/Hurd, ‘struct statfs’ is defined in <sys/statfs.h>. However, fsusage.c ends up including only <sys/statvfs.h>, and thus, ‘struct statfs’ and the ‘statfs’ function aren’t defined/declared, leading to:
fsusage.c: In function 'get_fs_usage': fsusage.c:222:17: error: storage size of 'fsd' isn't known fsusage.c:224:3: warning: implicit declaration of function 'statfs' [-Wimplicit-function-declaration] (Seen on <http://hydra.nixos.org/build/2751266>.) The fix appears to be to include <sys/statfs.h> when STAT_STATFS2_FRSIZE is defined. Thanks, Ludo’.