incompatible implicit declaration of built-in function 'calloc' [enabled by default] code example
Example: incompatible implicit declaration of built-in function ‘malloc’
Insert:
#include <stdlib.h>
Insert:
#include <stdlib.h>