SDK: Add stdlib.h include to pull in `abort()` (#21700)
This commit is contained in:
parent
7c9abaff2c
commit
923720f529
|
@ -32,6 +32,7 @@ if (!(expr)) { \
|
|||
* Stub functions when building tests
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void sol_panic_(const char *file, uint64_t len, uint64_t line, uint64_t column) {
|
||||
printf("Panic in %s at %d:%d\n", file, line, column);
|
||||
|
|
Loading…
Reference in New Issue