From: Heiko Becker Date: Wed, 25 Jan 2023 22:30:32 +0000 (-0800) Subject: Fix build with gcc 13 by including (#11118) X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3f8347da1c7bc5968763575f07619f7362d29903;p=rocksdb.git Fix build with gcc 13 by including (#11118) Summary: Like other versions before, gcc 13 moved some includes around and as a result is no longer transitively included [1]. Explicitly include it for uint{32,64}_t. [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes Pull Request resolved: https://github.com/facebook/rocksdb/pull/11118 Reviewed By: cbi42 Differential Revision: D42711356 Pulled By: ajkr fbshipit-source-id: 5ea257b85b7017f40fd8fdbce965336da95c55b2 (cherry picked from commit 88edfbfb5e1cac228f7cc31fbec24bb637fe54b1) --- diff --git a/table/block_based/data_block_hash_index.h b/table/block_based/data_block_hash_index.h index f356395f..32152217 100644 --- a/table/block_based/data_block_hash_index.h +++ b/table/block_based/data_block_hash_index.h @@ -5,6 +5,7 @@ #pragma once +#include #include #include diff --git a/util/string_util.h b/util/string_util.h index 55d106ff..11178fd1 100644 --- a/util/string_util.h +++ b/util/string_util.h @@ -6,6 +6,7 @@ #pragma once +#include #include #include #include