summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-04-12 11:59:45 +0000
committerJim Meyering <jim@meyering.net>2004-04-12 11:59:45 +0000
commit99eb12ed3cae045fa8b4f9e5c53c6e593c48bd74 (patch)
treeb2850d0c32a40657c9d685b5598ea36c5c6dae2f
parent907e43cc4a192b5d2e9102f44b41b2a907fe7d45 (diff)
downloadcoreutils-99eb12ed3cae045fa8b4f9e5c53c6e593c48bd74.tar.xz
Update from gnulib.
-rw-r--r--lib/inttostr.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/inttostr.h b/lib/inttostr.h
index de2b164f6..6f2416b53 100644
--- a/lib/inttostr.h
+++ b/lib/inttostr.h
@@ -1,6 +1,6 @@
/* inttostr.h -- convert integers to printable strings
- Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -25,14 +25,12 @@
#if HAVE_INTTYPES_H
# include <inttypes.h>
#endif
-
-#if HAVE_LIMITS_H
-# include <limits.h>
-#endif
-#ifndef CHAR_BIT
-# define CHAR_BIT 8
+#if HAVE_STDINT_H
+# include <stdint.h>
#endif
+#include <limits.h>
+
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif