From 8f92b22d98c2f2e68477bea5d9f21ccbfa52c814 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 6 Jun 2003 22:30:28 +0000 Subject: Include as an alternative to . --- lib/strtoimax.c | 4 +++- lib/xstrtol.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/strtoimax.c b/lib/strtoimax.c index 0f03ca174..23c8eb66c 100644 --- a/lib/strtoimax.c +++ b/lib/strtoimax.c @@ -1,5 +1,5 @@ /* Convert string representation of a number into an intmax_t value. - Copyright 1999, 2001 Free Software Foundation, Inc. + Copyright 1999, 2001, 2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,6 +23,8 @@ #if HAVE_INTTYPES_H # include +#elif HAVE_STDINT_H +# include #endif #if HAVE_STDLIB_H diff --git a/lib/xstrtol.h b/lib/xstrtol.h index 513855f14..5d6dd8ebe 100644 --- a/lib/xstrtol.h +++ b/lib/xstrtol.h @@ -20,6 +20,8 @@ # if HAVE_INTTYPES_H # include /* for uintmax_t */ +# elif HAVE_STDINT_H +# include # endif # ifndef PARAMS -- cgit v1.2.3-70-g09d2