diff --git a/include/stdint.h b/include/stdint.h index ade0ab4fed39b790af58885a4fef13095682ef03..faf36934381d9ab36e279bbcb542efe0891c6732 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -49,4 +49,6 @@ typedef int64_t intmax_t; #define UINTMAX_MAX UINT64_MAX typedef uint64_t uintmax_t; +#define SIZE_MAX UINT64_MAX + #endif /* _STDINT_H */ diff --git a/src/resource/cbindgen.toml b/src/resource/cbindgen.toml index f9c595b682de5be84f518a4cb8fcd2c1e2a098bc..788d105537cead2894f82a9ca6f85657dc1065da 100644 --- a/src/resource/cbindgen.toml +++ b/src/resource/cbindgen.toml @@ -1,6 +1,7 @@ -sys_includes = ["sys/types.h"] +sys_includes = ["sys/types.h", "sys/time.h"] include_guard = "_SYS_RESOURCE_H" language = "C" +style = "Tag" [enum] prefix_with_name = true