patch for stuck chicken-install -update-db (msys & mingw) added by jjhoo on Tue Aug 24 12:12:02 2021

diff --git a/file.scm b/file.scm
index 18ce00f1..e3a6b920 100644
--- a/file.scm
+++ b/file.scm
@@ -65,7 +65,7 @@
 # define C_mkdir(str)       C_fix(mkdir(C_c_string(str)))
 #endif

-#if !defined(_WIN32) || defined(__CYGWIN__)
+#if !defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
 # include <sys/types.h>
 # include <dirent.h>
 #else