Skip to content

Commit

Permalink
Fix undefined type error in 3rdparty/json11/json11.cpp
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
gsomlo authored and gatecat committed Jan 23, 2025
1 parent d673d04 commit 0c06051
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 3rdparty/json11/json11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <cassert>
#include <cmath>
#include <cstdlib>
#include <cstdint>
#include <cstdio>
#include <climits>
#include <cerrno>
Expand Down

0 comments on commit 0c06051

Please sign in to comment.