Skip to content

Commit fe79a77

Browse files
committed
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 <[email protected]>
1 parent eac2294 commit fe79a77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/json11/json11.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <cmath>
2525
#include <cstdlib>
2626
#include <cstdio>
27+
#include <cstdint>
2728
#include <limits>
2829

2930
namespace json11 {

0 commit comments

Comments
 (0)