Commit 37c2d54c by Vicent Marti

Fix compilation on MinGW

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

Signed-off-by: Vicent Marti <tanoku@gmail.com>
parent c8f5ff8f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment