diff -ru fontconfig-2.12.93.orig/src/fcstat.c fontconfig-2.12.93/src/fcstat.c
--- fontconfig-2.12.93.orig/src/fcstat.c 2017-10-12 08:51:29.000000000 +0200
+++ fontconfig-2.12.93/src/fcstat.c 2018-02-16 00:41:55.260139637 +0100
@@ -375,7 +375,7 @@
# endif
# if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
p = buf.f_fstypename;
-# elif defined(__linux__)
+# elif defined(__linux__) || defined(__midipix__)
switch (buf.f_type)
{
case 0x6969: /* nfs */