gentoo-ebuilds/dev-cpp/json11/files/json11-1.0.0-include-cstdint.patch
Christopher Fore 79d5a2baf8
dev-cpp/json11: Fix compilation on GCC 15
Closes: https://bugs.gentoo.org/937530
Signed-off-by: Christopher Fore <csfore@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/38028
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-09 14:24:00 +01:00

12 lines
258 B
Diff

diff --git a/json11.cpp b/json11.cpp
index 9647846..8266a14 100644
--- a/json11.cpp
+++ b/json11.cpp
@@ -22,6 +22,7 @@
#include "json11.hpp"
#include <cassert>
#include <cmath>
+#include <cstdint>
#include <cstdlib>
#include <cstdio>
#include <limits>