From 6918f0b7eb0160059d712ee19ba0ce2d65b9f89c Mon Sep 17 00:00:00 2001 From: Christopher Fore Date: Mon, 5 Aug 2024 09:41:50 -0400 Subject: [PATCH] libtests: include cstdint for GCC 15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GCC 15 starts to no longer include this by default, requiring it to be explicitly included. Error message: libtests/cxx11.cc:75:16: error: ‘uint8_t’ was not declared in this scope 75 | check_size(1, false); | ^~~~~~~ libtests/cxx11.cc:10:1: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 9 | #include +++ |+#include 10 | #include Signed-off-by: Christopher Fore --- libtests/cxx11.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libtests/cxx11.cc b/libtests/cxx11.cc index 59c74fa8..953ad00f 100644 --- a/libtests/cxx11.cc +++ b/libtests/cxx11.cc @@ -1,5 +1,6 @@ #include +#include #include #include #include