summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:51:09 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:51:09 +0000
commit24cdab4d1ad5e3528b82f221a7d87ac09baf560b (patch)
treec04312755accffd68ebf69257c2d5d8bac6b72a6
parent58907a1ee9ac5aad21848b1993807b015bfe9c94 (diff)
downloadcoreutils-24cdab4d1ad5e3528b82f221a7d87ac09baf560b.tar.xz
Use Autoconf-suggested pattern for inttypes and stdint.
-rw-r--r--lib/xstrtol.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/xstrtol.h b/lib/xstrtol.h
index 5765c88e2..0d6b98482 100644
--- a/lib/xstrtol.h
+++ b/lib/xstrtol.h
@@ -22,13 +22,11 @@
# include "exitfail.h"
-/* Get uintmax_t. */
# 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
# ifndef _STRTOL_ERROR