1
0
mirror of git://git.suckless.org/sbase synced 2024-12-25 16:32:37 +00:00

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
util.h
View File

@ -26,6 +26,7 @@ void apathmax(char **, size_t *);
void *ecalloc(size_t, size_t); void *ecalloc(size_t, size_t);
void *emalloc(size_t); void *emalloc(size_t);
void *erealloc(void *, size_t); void *erealloc(void *, size_t);
#undef reallocarray
void *reallocarray(void *, size_t, size_t); void *reallocarray(void *, size_t, size_t);
void *ereallocarray(void *, size_t, size_t); void *ereallocarray(void *, size_t, size_t);
char *estrdup(const char *); char *estrdup(const char *);