03c876
diff -ru fontconfig-2.14.1.orig/src/fcstat.c fontconfig-2.14.1/src/fcstat.c
03c876
--- fontconfig-2.14.1.orig/src/fcstat.c	2021-07-08 07:47:01.000000000 +0200
03c876
+++ fontconfig-2.14.1/src/fcstat.c	2023-01-18 13:38:16.297077648 +0100
03c876
@@ -373,7 +373,7 @@
03c876
 	p = buf.f_fstypename;
03c876
 #  endif
03c876
     }
03c876
-#elif defined(HAVE_FSTATFS) && (defined(HAVE_STRUCT_STATFS_F_FLAGS) || defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) || defined(__linux__))
03c876
+#elif defined(HAVE_FSTATFS) && (defined(HAVE_STRUCT_STATFS_F_FLAGS) || defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) || defined(__linux__) || defined(__midipix__))
03c876
     struct statfs buf;
03c876
 
03c876
     memset (statb, 0, sizeof (FcStatFS));
03c876
@@ -386,7 +386,7 @@
03c876
 #  endif
03c876
 #  if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
03c876
 	p = buf.f_fstypename;
03c876
-#  elif defined(__linux__) || defined (__EMSCRIPTEN__)
03c876
+#  elif defined(__linux__) || defined(__midipix__) || defined (__EMSCRIPTEN__)
03c876
 	switch (buf.f_type)
03c876
 	{
03c876
 	case 0x6969: /* nfs */