mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Common/Hashmaps.h: add missing <stdint> include
On gcc-10 the build fails as: ``` [ 51%] Building CXX object CMakeFiles/Core.dir/GPU/Null/NullGpu.cpp.o In file included from ../GPU/Common/DrawEngineCommon.h:24, from ../GPU/Null/NullGpu.cpp:18: ../Common/Hashmaps.h:11:7: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'? 11 | const uint32_t hashmapSeed = 0x23B58532; | ^~~~~~~~ | u_int32_t ``` This happens due to improved transitive include hygiene on gcc-10 headers. The change includes <cstdint> to pull in 'uint32_t' typedef. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
parent
1d6d66ac43
commit
66ff2d8a4a
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint> /* uint32_t */
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue