diff options
-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) |