diff --git a/litex/soc/software/libbase/exception.c b/litex/soc/software/libbase/exception.c index 0ac917272..74a0ed14f 100644 --- a/litex/soc/software/libbase/exception.c +++ b/litex/soc/software/libbase/exception.c @@ -6,6 +6,8 @@ void isr(void); #ifdef __or1k__ +#include + #define EXTERNAL_IRQ 0x8 static void emerg_printf(const char *fmt, ...)