summaryrefslogtreecommitdiff
path: root/strlcat.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2016-01-06 17:02:28 +0000
committersin <sin@2f30.org>2016-01-06 17:03:42 +0000
commit2809fd3795e8445f686547d08eef4631efc05030 (patch)
treef3c0341b4d4f7039c7425098befe853ae0bd6188 /strlcat.c
parent87360fe2526f7713c4626d04da521579141fcf68 (diff)
Bring in reallocarray() from OpenBSD
Diffstat (limited to 'strlcat.c')
-rw-r--r--strlcat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/strlcat.c b/strlcat.c
index 14c53a1..bbfa64f 100644
--- a/strlcat.c
+++ b/strlcat.c
@@ -19,6 +19,8 @@
#include <sys/types.h>
#include <string.h>
+#include "compat.h"
+
/*
* Appends src to string dst of size dsize (unlike strncat, dsize is the
* full size of dst, not space left). At most dsize-1 characters