From: Bruno Haible Date: Mon, 17 Jan 2022 10:07:25 +0000 (+0100) Subject: xstrtol: Trim dependencies. X-Git-Tag: v1.0~2385 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=f778ecbe676e5e0f9649b1ef2b16af762a17d42d;p=gnulib.git xstrtol: Trim dependencies. * lib/xstrtol.h: Include , not . * modules/xstrtol (Depends-on): Add stdint. Remove inttypes-incomplete. --- diff --git a/ChangeLog b/ChangeLog index 83f8550e81..33944f44b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-01-17 Bruno Haible + + xstrtol: Trim dependencies. + * lib/xstrtol.h: Include , not . + * modules/xstrtol (Depends-on): Add stdint. Remove inttypes-incomplete. + 2022-01-17 Bruno Haible xstrtol: Fix compilation error (regression 2022-01-16). diff --git a/lib/xstrtol.h b/lib/xstrtol.h index e3fe387790..a0159a772a 100644 --- a/lib/xstrtol.h +++ b/lib/xstrtol.h @@ -19,7 +19,8 @@ #ifndef XSTRTOL_H_ # define XSTRTOL_H_ 1 -# include +/* Get intmax_t, uintmax_t. */ +# include # ifndef _STRTOL_ERROR enum strtol_error diff --git a/modules/xstrtol b/modules/xstrtol index d171890f3d..137cc1f5ab 100644 --- a/modules/xstrtol +++ b/modules/xstrtol @@ -10,7 +10,7 @@ m4/xstrtol.m4 Depends-on: assure intprops -inttypes-incomplete +stdint configure.ac: gl_XSTRTOL