fix a couple of warnings

It's not clear to me where my Linux gets strlcpy and strlcat from
¯\_(ツ)_/¯
This commit is contained in:
Kartik K. Agaram 2022-02-03 20:59:08 -08:00
parent f5be8e1955
commit 5c1a7b6b12
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@
#include <string.h>
#include <unistd.h>
extern size_t strlcpy(char * dst, const char * src, size_t size);
extern size_t strlcat(char * dst, const char * src, size_t size);
/*
* Find the real name of path, by removing all ".", ".." and symlink
* components. Returns (resolved) on success, or (NULL) on failure,