summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-04-25 19:20:18 +0000
committerJim Meyering <jim@meyering.net>1999-04-25 19:20:18 +0000
commit1c9a7ba541586964bfedc1fe21673fa8335f0993 (patch)
treefbb03809cdac42f66002a690d203703b4996bb4a /lib
parente3a368948ed890979bd0f14f5aac791e0b1b9035 (diff)
downloadcoreutils-1c9a7ba541586964bfedc1fe21673fa8335f0993.tar.xz
<inttypes.h>: Include it here instead.
<config.h>: Include it here too.
Diffstat (limited to 'lib')
-rw-r--r--lib/human.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/human.h b/lib/human.h
index de54bf8e9..c7cee833c 100644
--- a/lib/human.h
+++ b/lib/human.h
@@ -1,6 +1,14 @@
#ifndef HUMAN_H_
# define HUMAN_H_ 1
+# if HAVE_CONFIG_H
+# include <config.h>
+# endif
+
+# if HAVE_INTTYPES_H
+# include <inttypes.h>
+# endif
+
/* A conservative bound on the maximum length of a human-readable string.
The output can be the product of the largest uintmax_t and the largest int,
so add their sizes before converting to a bound on digits. */