summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:49:58 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:49:58 +0000
commit75d42c8224cb187b52f71213540ddbf20ee1d0d3 (patch)
treec2032c67fa65de14a4951f8a989651e9125ce7a0
parentd5905bb65347592b269cba71e783fce9930410a0 (diff)
downloadcoreutils-75d42c8224cb187b52f71213540ddbf20ee1d0d3.tar.xz
Use Autoconf-suggested pattern for inttypes and stdint.
-rw-r--r--lib/human.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/human.h b/lib/human.h
index 604fec1ba..b67ba4e9a 100644
--- a/lib/human.h
+++ b/lib/human.h
@@ -1,7 +1,7 @@
/* human.h -- print human readable file size
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free
- Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 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
@@ -29,12 +29,11 @@
# include <limits.h>
# include <stdbool.h>
-# if HAVE_INTTYPES_H
-# include <inttypes.h>
-# else
-# if HAVE_STDINT_H
-# include <stdint.h>
-# endif
+# if HAVE_STDINT_H
+# include <stdint.h>
+# endif
+# if HAVE_UNISTD_H
+# include <unistd.h>
# endif
/* A conservative bound on the maximum length of a human-readable string.