summaryrefslogtreecommitdiff
path: root/compat.h
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 /compat.h
parent87360fe2526f7713c4626d04da521579141fcf68 (diff)
Bring in reallocarray() from OpenBSD
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h2
1 files changed, 2 insertions, 0 deletions
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