It's better to include stdlib.h explicitly