Declare strlcat
parent
2404e15e72
commit
d91f588288
3
chat.h
3
chat.h
|
@ -239,3 +239,6 @@ static inline void base64(char *dst, const byte *src, size_t len) {
|
||||||
|
|
||||||
// Defined in libcrypto if missing from libc:
|
// Defined in libcrypto if missing from libc:
|
||||||
void explicit_bzero(void *b, size_t len);
|
void explicit_bzero(void *b, size_t len);
|
||||||
|
#ifndef strlcat
|
||||||
|
size_t strlcat(char *restrict dst, const char *restrict src, size_t dstsize);
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue