summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Luo <gluokai@gmail.com>2022-09-22 14:14:57 +0800
committerKai Luo <gluokai@gmail.com>2022-09-22 14:14:57 +0800
commit1fde70bb607c7ba471db359f045affd1f5625e5d (patch)
tree7dac688d0d3a935f3a1f8adbd031e51510911019
parente8ce8060f4552dccd4b561acc4e9783b526c7aed (diff)
downloadlibgit2-1fde70bb607c7ba471db359f045affd1f5625e5d.tar.gz
Include <stdint.h>
-rw-r--r--src/util/posix.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/posix.h b/src/util/posix.h
index 607aa9dce..1e37bba2f 100644
--- a/src/util/posix.h
+++ b/src/util/posix.h
@@ -9,6 +9,7 @@
#include "git2_util.h"
+#include <stdint.h>
#include <stdlib.h>
#include <fcntl.h>
#include <time.h>
@@ -104,8 +105,6 @@ typedef __int64 off64_t;
typedef __haiku_std_int64 off64_t;
#elif defined(__APPLE__)
typedef __int64_t off64_t;
-#elif defined(_AIX)
-typedef long long off64_t;
#else
typedef int64_t off64_t;
#endif