error: implicit declaration of function ‘free’ [-Werror=implicit-function-declaration] Just edit the file where this error appeared and add: #include <stdlib.h>