Declare strlcat

master
C. McEnroe 2020-02-11 03:45:26 -05:00
parent 2404e15e72
commit d91f588288
1 changed files with 3 additions and 0 deletions

3
chat.h
View File

@ -239,3 +239,6 @@ static inline void base64(char *dst, const byte *src, size_t len) {
// Defined in libcrypto if missing from libc:
void explicit_bzero(void *b, size_t len);
#ifndef strlcat
size_t strlcat(char *restrict dst, const char *restrict src, size_t dstsize);
#endif