summaryrefslogtreecommitdiff
path: root/lib/human.h
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
commit665e1726d8373542afdd819f6ee10befa08ca075 (patch)
treec25d01bcf6a8cb5ab41913d68ec5d31765820166 /lib/human.h
parent4abb9676d3b0c61c6111676d8c4eed352abab3bb (diff)
downloadgnulib-665e1726d8373542afdd819f6ee10befa08ca075.tar.gz
<inttypes.h>: Include it here instead.
<config.h>: Include it here too.
Diffstat (limited to 'lib/human.h')
-rw-r--r--lib/human.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/human.h b/lib/human.h
index de54bf8e99..c7cee833c1 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. */