diff --git a/core/mutex.c b/core/mutex.c index 1de584196315e9015b595ec50975be39076fa27d..0f2668eee833049d462ca3d99ac6daa5c7f439f4 100644 --- a/core/mutex.c +++ b/core/mutex.c @@ -27,6 +27,7 @@ #include "tcb.h" #include "kernel.h" #include "sched.h" +#include "thread.h" #include "irq.h" #include "debug.h" diff --git a/core/sched.c b/core/sched.c index 528acc31cf34823308c322d8c4bc0737adc05cf7..27cf60163fa80f30671ee7c2f4fa29ecfa4b0779 100644 --- a/core/sched.c +++ b/core/sched.c @@ -27,6 +27,7 @@ #include <kernel_internal.h> #include <clist.h> #include <bitarithm.h> +#include "thread.h" #if SCHEDSTATISTICS #include "hwtimer.h"