mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2026-02-11 12:58:51 -06:00
Patch RocksDB to make it compile with clang 15.
This commit is contained in:
24
cpp/rocksdb-stdint.diff
Normal file
24
cpp/rocksdb-stdint.diff
Normal 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"
|
||||
|
||||
Reference in New Issue
Block a user