Fix undefined type error in libs/json11/json11.cpp

Under certain conditions, compilation errors out with
the following message:

    "error: ‘uint8_t’ does not name a type"

Explicitly including <cstdint> prevents that situation.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
This commit is contained in:
Gabriel Somlo 2025-01-16 09:23:16 -05:00
parent eac2294cab
commit fe79a77e39
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include <cmath>
#include <cstdlib>
#include <cstdio>
#include <cstdint>
#include <limits>
namespace json11 {