From cfeb3cbb68648785e541af0639337abdcf4d4044 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 8 Mar 2022 08:10:37 +0100 Subject: bsp/leon3: Include missing header file The include was removed from in commit 1577a48369fae5e024baa2119b26d25de0f43946. --- bsps/shared/grlib/uart/apbuart_cons.c | 1 + bsps/sparc/leon3/mpci/getcfg.c | 1 + 2 files changed, 2 insertions(+) diff --git a/bsps/shared/grlib/uart/apbuart_cons.c b/bsps/shared/grlib/uart/apbuart_cons.c index a0a265ab31..c35020e53f 100644 --- a/bsps/shared/grlib/uart/apbuart_cons.c +++ b/bsps/shared/grlib/uart/apbuart_cons.c @@ -43,6 +43,7 @@ /* LEON3 Low level transmit/receive functions provided by debug-uart code */ #ifdef LEON3 +#include extern struct apbuart_regs *leon3_debug_uart; /* The debug UART */ #endif diff --git a/bsps/sparc/leon3/mpci/getcfg.c b/bsps/sparc/leon3/mpci/getcfg.c index fc67cf8e3a..a707b65725 100644 --- a/bsps/sparc/leon3/mpci/getcfg.c +++ b/bsps/sparc/leon3/mpci/getcfg.c @@ -15,6 +15,7 @@ #include #include +#include #include /* Let user override this configuration by declaring this a weak variable */ -- cgit v1.2.3