diff --git a/compat/mingw.c b/compat/mingw.c index 4e44f93e21..67708e5fe0 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -1,6 +1,10 @@ #include +#include +#include #include "../git-compat-util.h" +unsigned int _CRT_fmode = _O_BINARY; + int readlink(const char *path, char *buf, size_t bufsiz) { errno = EINVAL;