Patch RocksDB to make it compile with clang 15.

This commit is contained in:
Francesco Mazzoli
2024-01-29 14:15:29 +00:00
parent dc2dea4e86
commit 2a6feb6df5
5 changed files with 30 additions and 0 deletions

24
cpp/rocksdb-stdint.diff Normal file
View File

@@ -0,0 +1,24 @@
diff --git a/table/block_based/data_block_hash_index.h b/table/block_based/data_block_hash_index.h
index f356395f3..6eaf71735 100644
--- a/table/block_based/data_block_hash_index.h
+++ b/table/block_based/data_block_hash_index.h
@@ -7,6 +7,7 @@
#include <string>
#include <vector>
+#include <cstdint>
#include "rocksdb/slice.h"
diff --git a/util/string_util.h b/util/string_util.h
index 55d106fff..2adf1ec68 100644
--- a/util/string_util.h
+++ b/util/string_util.h
@@ -10,6 +10,7 @@
#include <string>
#include <unordered_map>
#include <vector>
+#include <cstdint>
#include "rocksdb/rocksdb_namespace.h"