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 --- compat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compat.h') diff --git a/compat.h b/compat.h index 0947de6..f619c16 100644 --- a/compat.h +++ b/compat.h @@ -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 -- cgit v1.2.3