diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 18:44:11 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 18:44:11 +0000 |
commit | 97f2714e358cc625e9057f29a320fbd078851741 (patch) | |
tree | 3284260782e5ebede73248bbd1c2ed3bb2b402d1 | |
parent | 11e8886958ed745a0bfe2113478105d9b508b36a (diff) | |
download | coreutils-97f2714e358cc625e9057f29a320fbd078851741.tar.xz |
Use Autoconf-suggested pattern for inttypes and stdint.
Include unistd.h, for lseek.
-rw-r--r-- | lib/fsusage.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/fsusage.c b/lib/fsusage.c index 7868a66b6..f1dfb2d7e 100644 --- a/lib/fsusage.c +++ b/lib/fsusage.c @@ -23,10 +23,12 @@ #if HAVE_INTTYPES_H # include <inttypes.h> -#else -# if HAVE_STDINT_H -# include <stdint.h> -# endif +#endif +#if HAVE_STDINT_H +# include <stdint.h> +#endif +#if HAVE_UNISTD_H +# include <unistd.h> #endif #ifndef UINTMAX_MAX # define UINTMAX_MAX ((uintmax_t) -1) |