From: Paul Eggert Date: Mon, 2 Aug 2004 18:44:11 +0000 (+0000) Subject: Use Autoconf-suggested pattern for inttypes and stdint. X-Git-Tag: v5.3.0~959 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97f2714e358cc625e9057f29a320fbd078851741;p=thirdparty%2Fcoreutils.git Use Autoconf-suggested pattern for inttypes and stdint. Include unistd.h, for lseek. --- diff --git a/lib/fsusage.c b/lib/fsusage.c index 7868a66b65..f1dfb2d7e5 100644 --- a/lib/fsusage.c +++ b/lib/fsusage.c @@ -23,10 +23,12 @@ #if HAVE_INTTYPES_H # include -#else -# if HAVE_STDINT_H -# include -# endif +#endif +#if HAVE_STDINT_H +# include +#endif +#if HAVE_UNISTD_H +# include #endif #ifndef UINTMAX_MAX # define UINTMAX_MAX ((uintmax_t) -1)