diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/compat.h b/common/compat.h index d78db0c..1b36673 100644 --- a/common/compat.h +++ b/common/compat.h @@ -258,7 +258,7 @@ char * strndup (const char *data, #endif /* HAVE_STRDUP */ -#ifndef HAVE_REALLOCARRAY +#if defined HAVE_DECL_REALLOCARRAY && !HAVE_DECL_REALLOCARRAY void * reallocarray (void *ptr, size_t nmemb, |