diff --git a/sched/misc/assert.c b/sched/misc/assert.c index 675527aa61..b3da27d227 100644 --- a/sched/misc/assert.c +++ b/sched/misc/assert.c @@ -30,8 +30,9 @@ #include #include #include -#include - +#ifdef CONFIG_ARCH_LEDS +# include +#endif #include #include #include