summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/xstrtol.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/xstrtol.c b/lib/xstrtol.c
index 760b2a57b..e7b206189 100644
--- a/lib/xstrtol.c
+++ b/lib/xstrtol.c
@@ -86,6 +86,10 @@ long int strtol ();
unsigned long int strtoul ();
#endif
+#ifndef strtoumax
+uintmax_t strtoumax ();
+#endif
+
static int
bkm_scale (__strtol_t *x, int scale_factor)
{