Skip to content

Commit c68e9a1

Browse files
authored
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.
1 parent 58e5d88 commit c68e9a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

radio/src/gui/colorlcd/str_functions.h

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* GNU General Public License for more details.
2020
*/
2121
#pragma once
22+
#include <cstdint>
2223
#include <wctype.h>
2324
#include <string>
2425
#include <iostream>

0 commit comments

Comments
 (0)