71 lines
2.1 KiB
Diff
71 lines
2.1 KiB
Diff
From 6e376601c990abaa5e261d1311f92acb3b370b8f Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Tue, 24 Jan 2023 21:40:43 -0800
|
|
Subject: [PATCH] Add missing includes <cstdint> and <cstdio>
|
|
|
|
This is needed with GCC 13 and newer [1]
|
|
|
|
[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
|
|
|
|
Upstream-Status: Backport [https://github.com/facebook/rocksdb/commit/88edfbfb5e1cac228f7cc31fbec24bb637fe54b1]
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
.../rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h | 1 +
|
|
storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h | 1 +
|
|
.../rocksdb/rocksdb/table/block_based/data_block_hash_index.h | 1 +
|
|
storage/rocksdb/rocksdb/util/slice.cc | 1 +
|
|
storage/rocksdb/rocksdb/util/string_util.h | 1 +
|
|
tpool/aio_linux.cc | 1 +
|
|
6 files changed, 6 insertions(+)
|
|
|
|
--- a/thirdparty/rocksdb/include/rocksdb/utilities/checkpoint.h
|
|
+++ b/thirdparty/rocksdb/include/rocksdb/utilities/checkpoint.h
|
|
@@ -8,6 +8,7 @@
|
|
#pragma once
|
|
#ifndef ROCKSDB_LITE
|
|
|
|
+#include <cstdint>
|
|
#include <string>
|
|
#include "rocksdb/status.h"
|
|
|
|
--- a/thirdparty/rocksdb/util/string_util.h
|
|
+++ b/thirdparty/rocksdb/util/string_util.h
|
|
@@ -6,6 +6,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
#include <sstream>
|
|
#include <string>
|
|
#include <unordered_map>
|
|
--- a/extensions/expression-language/common/Value.h
|
|
+++ b/extensions/expression-language/common/Value.h
|
|
@@ -15,6 +15,7 @@
|
|
* limitations under the License.
|
|
*/
|
|
|
|
+#include <cstdint>
|
|
#include <string>
|
|
#include <sstream>
|
|
#include <iomanip>
|
|
--- a/libminifi/include/utils/StringUtils.h
|
|
+++ b/libminifi/include/utils/StringUtils.h
|
|
@@ -18,6 +18,7 @@
|
|
#define LIBMINIFI_INCLUDE_IO_STRINGUTILS_H_
|
|
#include <iostream>
|
|
#include <cstring>
|
|
+#include <cstdint>
|
|
#include <functional>
|
|
#ifdef WIN32
|
|
#include <cwctype>
|
|
--- a/thirdparty/rocksdb/db/compaction_iteration_stats.h
|
|
+++ b/thirdparty/rocksdb/db/compaction_iteration_stats.h
|
|
@@ -5,6 +5,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
struct CompactionIterationStats {
|
|
// Compaction statistics
|
|
|