summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bsps/shared/grlib/uart/apbuart_cons.c1
-rw-r--r--bsps/sparc/leon3/mpci/getcfg.c1
2 files changed, 2 insertions, 0 deletions
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 <leon.h>
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 <rtems.h>
#include <bsp.h>
+#include <leon.h>
#include <shm_driver.h>
/* Let user override this configuration by declaring this a weak variable */