summaryrefslogtreecommitdiff
path: root/lib/xstrtol.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-07-04 10:40:04 +0000
committerJim Meyering <jim@meyering.net>1999-07-04 10:40:04 +0000
commit376c3fe74028d6695313fbfb4331bdcc31941bf8 (patch)
tree9c0fec8f08358e9fb60b32de0e252415a301f4c2 /lib/xstrtol.c
parent08da7047d0c61ed1e67d96edcc1e83501c241d3d (diff)
downloadcoreutils-376c3fe74028d6695313fbfb4331bdcc31941bf8.tar.xz
[!defined strtoumax]: Declare strtoumax.
Diffstat (limited to 'lib/xstrtol.c')
-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)
{