From 011c81b21b6a469b685ac8c49a44a23a6382358e Mon Sep 17 00:00:00 2001 From: FRIGN Date: Wed, 11 Mar 2015 17:06:52 +0100 Subject: [PATCH] Undef reallocarray in util.h before declaration In case we link against the OpenBSD-libc, we want to avoid collisions. --- util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/util.h b/util.h index 7370272..c400a50 100644 --- a/util.h +++ b/util.h @@ -26,6 +26,7 @@ void apathmax(char **, size_t *); void *ecalloc(size_t, size_t); void *emalloc(size_t); void *erealloc(void *, size_t); +#undef reallocarray void *reallocarray(void *, size_t, size_t); void *ereallocarray(void *, size_t, size_t); char *estrdup(const char *);