From c68e9a1238a5b23ce0e80a79c782331dcb7c0ee3 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Wed, 22 Feb 2023 03:58:15 +0100 Subject: [PATCH] fix(compilation): 'uint32_t' has not been declared with newer GCC (#3224) In file included from /builddir/build/BUILD/edgetx-2.8.1/radio/src/gui/colorlcd/str_functions.cpp:25: /builddir/build/BUILD/edgetx-2.8.1/radio/src/gui/colorlcd/str_functions.h:30:42: error: 'uint32_t' has not been declared 30 | extern std::string wrap(std::string str, uint32_t width); | ^~~~~~~~ Fixes #3222. --- radio/src/gui/colorlcd/str_functions.h | 1 + 1 file changed, 1 insertion(+) diff --git a/radio/src/gui/colorlcd/str_functions.h b/radio/src/gui/colorlcd/str_functions.h index 3574104e4..5d9c64559 100644 --- a/radio/src/gui/colorlcd/str_functions.h +++ b/radio/src/gui/colorlcd/str_functions.h @@ -19,6 +19,7 @@ * GNU General Public License for more details. */ #pragma once +#include #include #include #include