Add include <stlib.h> for prototype, remove unneccessary includes.