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 7bc733545..b677ef9ff 100644
--- a/lib/xstrtol.c
+++ b/lib/xstrtol.c
@@ -86,6 +86,10 @@ long int strtol ();
unsigned long int strtoul ();
#endif
+#ifndef strtoimax
+intmax_t strtoimax ();
+#endif
+
#ifndef strtoumax
uintmax_t strtoumax ();
#endif