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
-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
youtJune McEnroe 2017-07-31Add tupJune McEnroe 2017-07-31Use designated initializer for hnel tableJune McEnroe 2017-07-30Add juneJune McEnroe 2017-07-30Play nethack as ValkyrieJune McEnroe 2017-07-28Add toggle to hnelJune McEnroe 2017-07-28Install slJune McEnroe 2017-07-25Add up, supJune McEnroe 2017-07-24Autopickup ringsJune McEnroe 2017-07-24Name dogJune McEnroe 2017-07-23Add nethackrcJune McEnroe 2017-07-23Remove useless setuid in briJune McEnroe 2017-07-23Clean up hnel a tiny bitJune McEnroe 2017-07-21Set window size in hnelJune McEnroe 2017-07-21Add hnelJune McEnroe 2017-07-19chmod 600 in dtchJune McEnroe