error: ‘strlcpy’ was not declared in this scope and ist not a standard C function. You might like to use strncpy.