From 97f2714e358cc625e9057f29a320fbd078851741 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 2 Aug 2004 18:44:11 +0000 Subject: [PATCH] Use Autoconf-suggested pattern for inttypes and stdint. Include unistd.h, for lseek. --- lib/fsusage.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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) -- 2.47.2