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
oxigraph-8.1.1
Heiko Becker 2 years ago committed by Facebook GitHub Bot
parent 6a5071ceb5
commit 88edfbfb5e
  1. 1
      table/block_based/data_block_hash_index.h
  2. 1
      util/string_util.h

@ -5,6 +5,7 @@
#pragma once
#include <cstdint>
#include <string>
#include <vector>

@ -6,6 +6,7 @@
#pragma once
#include <cstdint>
#include <sstream>
#include <string>
#include <unordered_map>

Loading…
Cancel
Save