<inttypes.h>: Include it here instead.
authorJim Meyering <jim@meyering.net>
Sun, 25 Apr 1999 19:20:18 +0000 (19:20 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 25 Apr 1999 19:20:18 +0000 (19:20 +0000)
<config.h>: Include it here too.

lib/human.h

index de54bf8..c7cee83 100644 (file)
@@ -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.  */