Blob Blame History Raw
From e304efde2c8643bbc0fc1ad5e85024982744b233 Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Mon, 30 Jan 2023 10:47:11 -0500
Subject: [PATCH 1/2] Add missing #include needed for GCC 11

---
 src/C4Include.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/C4Include.h b/src/C4Include.h
index d4b01612c7..b3ac83ee82 100644
--- a/src/C4Include.h
+++ b/src/C4Include.h
@@ -52,6 +52,7 @@ constexpr bool SOLIDMASK_DEBUG = false;
 #include <ctime>
 #include <iostream>
 #include <list>
+#include <limits>
 #include <map>
 #include <memory>
 #include <regex>

From c416d11069ef7b180be466024097f60abd849c8a Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Mon, 30 Jan 2023 10:42:35 -0500
Subject: [PATCH 2/2] Add missing #include needed for GCC 13

---
 tools/generate_license_headers.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/generate_license_headers.cpp b/tools/generate_license_headers.cpp
index 00bc82ba3d..095d078c75 100644
--- a/tools/generate_license_headers.cpp
+++ b/tools/generate_license_headers.cpp
@@ -9,6 +9,7 @@
 #include <locale>
 #include <regex>
 #include <cstdlib>
+#include <cstdint>
 
 // Generating this file in a way that neither bad old clang, bad old xcode, or bad old msvc will choke on it is actually not that easy.
 // MSVC limits the string length to 16K, but just doing ("x" "y") or ("x" + "y") doesn't constitute two strings