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 /compat.h | |
parent | 87360fe2526f7713c4626d04da521579141fcf68 (diff) | |
download | stagit-2809fd3795e8445f686547d08eef4631efc05030.tar.gz stagit-2809fd3795e8445f686547d08eef4631efc05030.zip |
Bring in reallocarray() from OpenBSD
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,4 +3,6 @@ size_t strlcat(char *, const char *, size_t); #undef strlcpy size_t strlcpy(char *, const char *, size_t); +#undef reallocarray +void *reallocarray(void *, size_t, size_t); #endif |