From 56f0e2c5deff3bbcf52cda2b30cd841db8433186 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 14 Dec 2021 19:57:21 +0100 Subject: [PATCH] fix(core): add missing include we were using `FILE` and `fprintf` without including the stdio header --- core/embed/extmod/modtrezorutils/modtrezorutils-meminfo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/core/embed/extmod/modtrezorutils/modtrezorutils-meminfo.h b/core/embed/extmod/modtrezorutils/modtrezorutils-meminfo.h index 9488ff2ab..1c6ebd20c 100644 --- a/core/embed/extmod/modtrezorutils/modtrezorutils-meminfo.h +++ b/core/embed/extmod/modtrezorutils/modtrezorutils-meminfo.h @@ -36,6 +36,7 @@ #include "embed/rust/librust.h" #include "embed/trezorhal/usb.h" +#include #include #define WORDS_PER_BLOCK ((MICROPY_BYTES_PER_GC_BLOCK) / MP_BYTES_PER_OBJ_WORD)