diff --git a/include/extern/reallocarray.h b/include/extern/reallocarray.h index e8ab5709..a81ff957 100644 --- a/include/extern/reallocarray.h +++ b/include/extern/reallocarray.h @@ -1,10 +1,14 @@ #ifndef EXTERN_REALLOCARRAY_H #define EXTERN_REALLOCARRAY_H +#ifdef REALLOCARRAY_IN_LIBC #include +#else -#ifndef REALLOCARRAY_IN_LIBC #define reallocarray rgbds_reallocarray + +void *reallocarray(void *, size_t, size_t); + #endif #endif