Update static array size to match number of entries in initializer.
Include stdlib.h to get definition of malloc.