You need to go add:
#include <stdio.h>
#include <string.h>
and then add int directly before the k on the first line of the donut.