diff options
Diffstat (limited to 'compat/reallocarray.c')
-rw-r--r-- | compat/reallocarray.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/reallocarray.c b/compat/reallocarray.c index 04d5d71c8be6..c969bd067ec5 100644 --- a/compat/reallocarray.c +++ b/compat/reallocarray.c @@ -18,7 +18,10 @@ #include "config.h" #include <sys/types.h> #include <errno.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif +#include <limits.h> #include <stdlib.h> /* |