From 37c2d54c8590d3eaeb33aec198089dc917fd351d Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Thu, 20 Jan 2011 15:57:13 -0800 Subject: [PATCH] Fix compilation on MinGW Require to find the definition for off64_t. Signed-off-by: Vicent Marti --- src/git2/types.h | 2 ++ 1 file changed, 2 insertions(+) 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 + #if defined(_MSC_VER) typedef __int64 git_off_t;