Commit 69c8bf7e0dd7b2db5d659e6fd329f229b7197af2

Edward Thomson 2015-06-30T14:21:29

posix compat: include sys/stat.h for mingw

1
2
3
4
5
6
7
8
9
10
11
12
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