diff --git a/ports/stm32/mpthreadport.c b/ports/stm32/mpthreadport.c index 0077e13937..4e1ebf064d 100644 --- a/ports/stm32/mpthreadport.c +++ b/ports/stm32/mpthreadport.c @@ -26,7 +26,7 @@ #include -#include "py/mpstate.h" +#include "py/runtime.h" #include "py/gc.h" #include "py/mpthread.h" #include "gccollect.h"