Add missing stdlib.h #include, fixes the warnings: