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.
This commit is contained in:
Jan Pazdziora
2023-02-22 12:58:15 +10:00
committed by GitHub
parent 58e5d88cf3
commit c68e9a1238
+1
View File
@@ -19,6 +19,7 @@
* GNU General Public License for more details.
*/
#pragma once
#include <cstdint>
#include <wctype.h>
#include <string>
#include <iostream>