summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-23 10:43:33 +0000
committerJim Meyering <jim@meyering.net>2000-12-23 10:43:33 +0000
commit8c8f0df4f0836606e6fe21b5db09d148ec5ad3fe (patch)
treee4680319c3012d3568a554093ada44fe2124c4dd /src
parent69e09f055967773d97729b3c74ea3c064bc00c27 (diff)
downloadcoreutils-8c8f0df4f0836606e6fe21b5db09d148ec5ad3fe.tar.xz
[HAVE_INTTYPES_H]: Include <inttypes.h>.
Diffstat (limited to 'src')
-rw-r--r--src/sys2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index b39ef9907..7eda8ef3a 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -171,6 +171,10 @@ char *alloca ();
# include <stdint.h>
#endif
+#if HAVE_INTTYPES_H
+# include <inttypes.h> /* for the definition of UINTMAX_MAX */
+#endif
+
#include <ctype.h>
/* Jim Meyering writes: