Fix undefined type error in 3rdparty/json11/json11.cpp
Under certain conditions (e.g., building on Fedora 42 using gcc-15.0.1), compilation fails with the following error: "error: ‘uint8_t’ does not name a type" Explicitly include <cstdint> to prevent that situation. Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
This commit is contained in:
parent
d673d04ff3
commit
0c060512c1
1
3rdparty/json11/json11.cpp
vendored
1
3rdparty/json11/json11.cpp
vendored
@ -23,6 +23,7 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <cstdint>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <climits>
|
#include <climits>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
Loading…
Reference in New Issue
Block a user