summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-11 03:45:26 -0500
committerJune McEnroe <june@causal.agency>2020-02-11 03:45:26 -0500
commitd91f588288f22acf20736e03c22a51c2521ec89d (patch)
tree24cc5fb09adc4d03141fea2fcf3732b9ebf41e6f
parentCheck if VDSUSP exists (diff)
downloadcatgirl-d91f588288f22acf20736e03c22a51c2521ec89d.tar.gz
catgirl-d91f588288f22acf20736e03c22a51c2521ec89d.zip
Declare strlcat
Diffstat (limited to '')
-rw-r--r--chat.h3
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