--- fontconfig-2.13.93/test/test-migration.c.orig	2020-12-05 10:40:30.302459200 +0100
+++ fontconfig-2.13.93/test/test-migration.c	2020-12-05 10:42:21.727935600 +0100
@@ -30,6 +30,9 @@
 #include <string.h>
 #include <sys/types.h>
 #include <dirent.h>
+#ifdef _WIN32
+#define mkdir(path,mode) _mkdir(path)
+#endif
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
