Skip to content

Commit 88edfbf

Browse files
heireckafacebook-github-bot
authored andcommitted
Fix build with gcc 13 by including <cstdint> (facebook#11118)
Summary: Like other versions before, gcc 13 moved some includes around and as a result <cstdint> 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: facebook#11118 Reviewed By: cbi42 Differential Revision: D42711356 Pulled By: ajkr fbshipit-source-id: 5ea257b85b7017f40fd8fdbce965336da95c55b2
1 parent 6a5071c commit 88edfbf

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

table/block_based/data_block_hash_index.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#pragma once
77

8+
#include <cstdint>
89
#include <string>
910
#include <vector>
1011

util/string_util.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#pragma once
88

9+
#include <cstdint>
910
#include <sstream>
1011
#include <string>
1112
#include <unordered_map>

0 commit comments

Comments
 (0)