diff --git a/core/mvcc/bindings/c/cbindgen.toml b/core/mvcc/bindings/c/cbindgen.toml index b530dce1d..1b5ac2f31 100644 --- a/core/mvcc/bindings/c/cbindgen.toml +++ b/core/mvcc/bindings/c/cbindgen.toml @@ -4,3 +4,4 @@ include_guard = "MVCC_H" line_length = 120 no_includes = true style = "type" +sys_includes = ["stdint.h"] diff --git a/core/mvcc/bindings/c/include/mvcc.h b/core/mvcc/bindings/c/include/mvcc.h index 808c4047e..eb1ed5352 100644 --- a/core/mvcc/bindings/c/include/mvcc.h +++ b/core/mvcc/bindings/c/include/mvcc.h @@ -1,6 +1,8 @@ #ifndef MVCC_H #define MVCC_H +#include + typedef enum { MVCC_OK = 0, MVCC_IO_ERROR_WRITE = 778,