summaryrefslogtreecommitdiff
path: root/src/git2
diff options
context:
space:
mode:
Diffstat (limited to 'src/git2')
-rw-r--r--src/git2/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/git2/types.h b/src/git2/types.h
index de7b9bcd3..cfc0cf379 100644
--- a/src/git2/types.h
+++ b/src/git2/types.h
@@ -47,6 +47,8 @@ GIT_BEGIN_DECL
* NOTE: These types should match those that are returned by our internal
* stat() functions, for all platforms.
*/
+#include <sys/types.h>
+
#if defined(_MSC_VER)
typedef __int64 git_off_t;