posix compat: include sys/stat.h for mingw
diff --git a/src/unix/posix.h b/src/unix/posix.h
index c852936..7773509 100644
--- a/src/unix/posix.h
+++ b/src/unix/posix.h
@@ -11,6 +11,7 @@
#include <dirent.h>
#include <sys/param.h>
#include <sys/time.h>
+#include <sys/stat.h>
typedef int GIT_SOCKET;
#define INVALID_SOCKET -1