]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Use Autoconf-suggested pattern for inttypes and stdint.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 18:44:11 +0000 (18:44 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 18:44:11 +0000 (18:44 +0000)
Include unistd.h, for lseek.

lib/fsusage.c

index 7868a66b652146662652f75f410724d934279f94..f1dfb2d7e5bcf1897c7a235edbe4fa9893af3229 100644 (file)
 
 #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)