diff options
author | sin <[email protected]> | 2016-01-06 17:02:28 +0000 |
---|---|---|
committer | sin <[email protected]> | 2016-01-06 17:03:42 +0000 |
commit | 2809fd3795e8445f686547d08eef4631efc05030 (patch) | |
tree | f3c0341b4d4f7039c7425098befe853ae0bd6188 /strlcpy.c | |
parent | 87360fe2526f7713c4626d04da521579141fcf68 (diff) | |
download | stagit-2809fd3795e8445f686547d08eef4631efc05030.tar.gz stagit-2809fd3795e8445f686547d08eef4631efc05030.zip |
Bring in reallocarray() from OpenBSD
Diffstat (limited to 'strlcpy.c')
-rw-r--r-- | strlcpy.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,8 @@ #include <sys/types.h> #include <string.h> +#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). |