add...
#include "compiler.h" #include "xmil.h" #include "taskmng.h" void taskmng_exit(void) { xmilrunning = FALSE; }