The module 'xstrtol' does not use any PRI*, SCN* constants.
2022-01-17 Bruno Haible <br...@clisp.org> xstrtol: Trim dependencies. * lib/xstrtol.h: Include <stdint.h>, not <inttypes.h>. * modules/xstrtol (Depends-on): Add stdint. Remove inttypes-incomplete. 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 <inttypes.h> +/* Get intmax_t, uintmax_t. */ +# include <stdint.h> # 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