From fe79a77e398fab8dc962e49556eec5803aa3be74 Mon Sep 17 00:00:00 2001
From: Gabriel Somlo <gsomlo@gmail.com>
Date: Thu, 16 Jan 2025 09:23:16 -0500
Subject: [PATCH] Fix undefined type error in libs/json11/json11.cpp
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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>
---
 libs/json11/json11.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libs/json11/json11.cpp b/libs/json11/json11.cpp
index 189e63881..cdd81c6a9 100644
--- a/libs/json11/json11.cpp
+++ b/libs/json11/json11.cpp
@@ -24,6 +24,7 @@
 #include <cmath>
 #include <cstdlib>
 #include <cstdio>
+#include <cstdint>
 #include <limits>
 
 namespace json11 {