Explicitly depend on stdlib.h to avoid implicit definitions of malloc.