Include <string.h> for strncpy().
[monky] / extras /
drwxr-xr-x   ..
drwxr-xr-x - nano
drwxr-xr-x - vim