diff options
author | June McEnroe <june@causal.agency> | 2020-02-11 03:45:26 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-11 03:45:26 -0500 |
commit | d91f588288f22acf20736e03c22a51c2521ec89d (patch) | |
tree | 24cc5fb09adc4d03141fea2fcf3732b9ebf41e6f | |
parent | Check if VDSUSP exists (diff) | |
download | catgirl-d91f588288f22acf20736e03c22a51c2521ec89d.tar.gz catgirl-d91f588288f22acf20736e03c22a51c2521ec89d.zip |
Declare strlcat
-rw-r--r-- | chat.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |