Fix compilation on MinGW

Require <sys/types.h> to find the definition for off64_t.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
This commit is contained in:
Vicent Marti 2011-01-20 15:57:13 -08:00
parent c8f5ff8f65
commit 37c2d54c85

View File

@ -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;