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:
Gabriel Somlo 2025-01-23 07:53:52 -05:00 committed by myrtle
parent d673d04ff3
commit 0c060512c1

View File

@ -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>