diff options
-rw-r--r-- | lib/reallocarray.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/reallocarray.c b/lib/reallocarray.c index 11d1e7b..0c1e250 100644 --- a/lib/reallocarray.c +++ b/lib/reallocarray.c @@ -19,6 +19,7 @@ #include <config.h> #ifndef HAVE_REALLOCARRAY +#undef reallocarray #include <sys/types.h> #include <errno.h> @@ -27,6 +28,8 @@ #endif #include <stdlib.h> +void *reallocarray(void *, size_t, size_t); + /* * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX * if both s1 < MUL_NO_OVERFLOW and s2 < MUL_NO_OVERFLOW |