mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 05:50:21 +00:00
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:
parent
c8f5ff8f65
commit
37c2d54c85
@ -47,6 +47,8 @@ GIT_BEGIN_DECL
|
|||||||
* NOTE: These types should match those that are returned by our internal
|
* NOTE: These types should match those that are returned by our internal
|
||||||
* stat() functions, for all platforms.
|
* stat() functions, for all platforms.
|
||||||
*/
|
*/
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
|
||||||
typedef __int64 git_off_t;
|
typedef __int64 git_off_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user