diff --git a/firmware/include/stdlib.h b/firmware/include/stdlib.h index 894bf563fa..44aba49a55 100644 --- a/firmware/include/stdlib.h +++ b/firmware/include/stdlib.h @@ -37,6 +37,10 @@ int rand(void); #define abs(x) ((x)>0?(x):-(x)) +#ifdef SIMULATOR +void exit(int status); +#endif + #ifdef __cplusplus } #endif