fix a couple of warnings
It's not clear to me where my Linux gets strlcpy and strlcat from ¯\_(ツ)_/¯
This commit is contained in:
parent
f5be8e1955
commit
5c1a7b6b12
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue