diff --git a/compat/mingw.c b/compat/mingw.c index d85d68065e..bed417875e 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -1,5 +1,6 @@ #include "../git-compat-util.h" #include "win32.h" +#include #include "../strbuf.h" unsigned int _CRT_fmode = _O_BINARY; diff --git a/compat/win32.h b/compat/win32.h index d531130b12..c26384e595 100644 --- a/compat/win32.h +++ b/compat/win32.h @@ -1,6 +1,5 @@ /* common Win32 functions for MinGW and Cygwin */ #include -#include static inline int file_attr_to_st_mode (DWORD attr) {