libbase: Include missing uart header
authorMateusz Hołenko <mholenko@antmicro.com>
Fri, 22 May 2020 09:43:18 +0000 (11:43 +0200)
committerMateusz Hołenko <mholenko@antmicro.com>
Fri, 22 May 2020 09:43:18 +0000 (11:43 +0200)
This fixes compilation on mor1kx.

litex/soc/software/libbase/exception.c

index 0ac917272932e8b856e7c19349e78690b0fbf66f..74a0ed14fb324865480fdfbaab7888953f3bd159 100644 (file)
@@ -6,6 +6,8 @@ void isr(void);
 
 #ifdef __or1k__
 
+#include <base/uart.h>
+
 #define EXTERNAL_IRQ 0x8
 
 static void emerg_printf(const char *fmt, ...)