aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index d370bcfb..070a633b 100644
--- a/include/types.h
+++ b/include/types.h
@@ -25,6 +25,7 @@
#include <stdint.h>
#include <stdlib.h>
+#include <limits.h>
#include "config.h"
typedef uint8_t u8;
@@ -71,6 +72,7 @@ typedef uint128_t u128;
#define FS_OPT_SET_MAPSIZE(x) \
(x <= 1 || x > FS_OPT_MAX_MAPSIZE ? 0 : ((x - 1) << 1))
+#define U64_MAX ULLONG_MAX
typedef unsigned long long u64;
typedef int8_t s8;