Revert "Revert "SDK: Add stdlib.h include to pull in abort() (backport #21700) (#21704)""

This reverts commit 402d72bc48.
This commit is contained in:
Tyera Eulberg
2021-12-16 14:27:26 -07:00
committed by Tyera Eulberg
parent 985fae2dcf
commit 93a8fd6a2b

View File

@ -699,6 +699,7 @@ uint64_t entrypoint(const uint8_t *input);
* Stub functions when building tests
*/
#include <stdio.h>
#include <stdlib.h>
void sol_log_(const char *s, uint64_t len) {
printf("Program log: %s\n", s);
}