Need <stdlib.h>, too.  Of course!