Undef reallocarray in util.h before declaration

In case we link against the OpenBSD-libc, we want to avoid collisions.
This commit is contained in:
FRIGN 2015-03-11 17:06:52 +01:00
parent f1a1b7f994
commit 011c81b21b
1 changed files with 1 additions and 0 deletions

1
util.h
View File

@ -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 *);