aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/strtoimax.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/strtoimax.c')
-rw-r--r--lib/sh/strtoimax.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sh/strtoimax.c b/lib/sh/strtoimax.c
index 373f66a..a4170f0 100644
--- a/lib/sh/strtoimax.c
+++ b/lib/sh/strtoimax.c
@@ -1,6 +1,6 @@
/* strtoimax - convert string representation of a number into an intmax_t value. */
-/* Copyright 1999-2005 Free Software Foundation, Inc.
+/* Copyright 1999-2009 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -28,6 +28,10 @@
# include <inttypes.h>
#endif
+#if HAVE_STDINT_H
+# include <stdint.h>
+#endif
+
#if HAVE_STDLIB_H
# include <stdlib.h>
#endif