diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-06 22:30:03 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-06 22:30:03 +0000 |
commit | 563aaa8d0b3390b57d14c11b3c95880096627a06 (patch) | |
tree | 5bf7465ada99b35277edffdc13c6fac8d70d435a | |
parent | 611702a917b7a7ec64045a3fe36f63a9e2202701 (diff) | |
download | coreutils-563aaa8d0b3390b57d14c11b3c95880096627a06.tar.xz |
Include <stdint.h> as an alternative to <inttypes.h>.
-rw-r--r-- | lib/xstrtoimax.c | 2 | ||||
-rw-r--r-- | lib/xstrtoumax.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/xstrtoimax.c b/lib/xstrtoimax.c index 8937862c2..f60a8bbab 100644 --- a/lib/xstrtoimax.c +++ b/lib/xstrtoimax.c @@ -23,6 +23,8 @@ #if HAVE_INTTYPES_H # include <inttypes.h> +#elif HAVE_STDINT_H +# include <stdint.h> #endif #define __strtol strtoimax diff --git a/lib/xstrtoumax.c b/lib/xstrtoumax.c index 04d7cf98a..8e1c5b807 100644 --- a/lib/xstrtoumax.c +++ b/lib/xstrtoumax.c @@ -23,6 +23,8 @@ #if HAVE_INTTYPES_H # include <inttypes.h> +#elif HAVE_STDINT_H +# include <stdint.h> #endif #define __strtol strtoumax |