Skip to content

Commit

Permalink
Fix build with gcc 13 by including <cstdint> (facebook#11118)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
heirecka authored and Stephan Soileau committed Dec 7, 2023
1 parent 557accc commit e39497b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions table/block_based/data_block_hash_index.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#pragma once

#include <cstdint>
#include <string>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions util/string_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#pragma once

#include <cstdint>
#include <sstream>
#include <string>
#include <unordered_map>
Expand Down

0 comments on commit e39497b

Please sign in to comment.