summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-06-30 14:21:29 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2015-06-30 14:31:07 +0000
commit69c8bf7e0dd7b2db5d659e6fd329f229b7197af2 (patch)
treea024cfc41a92010d5ced1e1b7254e9917e3ed560
parent49840056da4da43d3bb7263efd9d141466de9f97 (diff)
downloadlibgit2-69c8bf7e0dd7b2db5d659e6fd329f229b7197af2.tar.gz
posix compat: include sys/stat.h for mingw
-rw-r--r--src/unix/posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h
index c852936be..777350990 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