commit 011c81b21b6a469b685ac8c49a44a23a6382358e
parent f1a1b7f9941170cf95b13fb55fa38cd740ded24f
Author: FRIGN <dev@frign.de>
Date: Wed, 11 Mar 2015 17:06:52 +0100
Undef reallocarray in util.h before declaration
In case we link against the OpenBSD-libc, we want to avoid collisions.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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 *);