From 2809fd3795e8445f686547d08eef4631efc05030 Mon Sep 17 00:00:00 2001 From: sin Date: Wed, 6 Jan 2016 17:02:28 +0000 Subject: Bring in reallocarray() from OpenBSD --- strlcpy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'strlcpy.c') diff --git a/strlcpy.c b/strlcpy.c index e9a7fe4..ab420b6 100644 --- a/strlcpy.c +++ b/strlcpy.c @@ -19,6 +19,8 @@ #include #include +#include "compat.h" + /* * Copy string src to buffer dst of size dsize. At most dsize-1 * chars will be copied. Always NUL terminates (unless dsize == 0). -- cgit v1.2.3