From 8caec8265385834db4805640f48c2316bba932f5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 17 Oct 2000 17:20:55 +0000 Subject: [PATCH] (): Include if HAVE_LIMITS_H. (CHAR_BIT): Define if not defined. --- lib/human.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/human.h b/lib/human.h index 4ec9f0d..1bff760 100644 --- a/lib/human.h +++ b/lib/human.h @@ -9,6 +9,13 @@ # include # endif +# if HAVE_LIMITS_H +# include +# endif +# ifndef CHAR_BIT +# define CHAR_BIT 8 +# 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. */ -- 2.44.0