From d91f588288f22acf20736e03c22a51c2521ec89d Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Tue, 11 Feb 2020 03:45:26 -0500 Subject: Declare strlcat --- chat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chat.h') diff --git a/chat.h b/chat.h index f47b244..829dd1d 100644 --- a/chat.h +++ b/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: void explicit_bzero(void *b, size_t len); +#ifndef strlcat +size_t strlcat(char *restrict dst, const char *restrict src, size_t dstsize); +#endif -- cgit 1.4.1-2-gfad0