]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix build with gcc 13 by including <cstdint> (#11118)
authorHeiko Becker <heirecka@exherbo.org>
Wed, 25 Jan 2023 22:30:32 +0000 (14:30 -0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 28 May 2026 11:14:23 +0000 (19:14 +0800)
commit3b51a01571bffff1eb0c7bf63a0b74ad383cbb8b
tree6191b586438b9a17de60b5c43c0b5202d0931ae7
parent2503164e7ecd3f08e544a316e6e97377964de85e
Fix build with gcc 13 by including <cstdint> (#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: 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)
table/block_based/data_block_hash_index.h
util/string_util.h