From 06001a778fef970f678a07299bc2ade7012e1563 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Sat, 21 May 2022 15:01:50 +0200 Subject: [PATCH] GCC compilation fixes. --- devices/common/ofnvram.cpp | 1 + devices/serial/chario.cpp | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/devices/common/ofnvram.cpp b/devices/common/ofnvram.cpp index 04189c1..ffb083d 100644 --- a/devices/common/ofnvram.cpp +++ b/devices/common/ofnvram.cpp @@ -28,6 +28,7 @@ along with this program. If not, see . #include #include +#include #include #include #include diff --git a/devices/serial/chario.cpp b/devices/serial/chario.cpp index 7a5b070..39ecf25 100644 --- a/devices/serial/chario.cpp +++ b/devices/serial/chario.cpp @@ -25,6 +25,7 @@ along with this program. If not, see . #include #include +#include #include bool CharIoNull::rcv_char_available() @@ -46,8 +47,11 @@ int CharIoNull::rcv_char(uint8_t *c) //======================== STDIO character I/O backend ======================== #ifndef _WIN32 -#include +#include #include +#include +#include +#include #include #include