build: detect and include inttypes.h again

For `PRI*` printf masks for fixed-size C99 types.

Also:
- add simple fallback for `PRIu32`, `PRIx32`, if `inttypes.h` is
  missing.

Cherry-picked from #20200
Ref: #20207
Follow-up to 4701a6d2ae #19695
Ref: 60359ad504 #12275
Closes #20208
This commit is contained in:
Viktor Szakats 2026-01-06 23:50:48 +01:00
parent 5f612acaa1
commit 4c9e4e99c1
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
10 changed files with 27 additions and 1 deletions

View file

@ -48,7 +48,6 @@ my %remove = (
'#define HAVE_GSSAPI_GSSAPI_GENERIC_H 1' => 1,
'#define HAVE_GSSAPI_GSSAPI_H 1' => 1,
'#define HAVE_GSSAPI_GSSAPI_KRB5_H 1' => 1,
'#define HAVE_INTTYPES_H 1' => 1,
'#define HAVE_LDAP_H 1' => 1,
'#define HAVE_LDAP_SSL 1' => 1,
'#define HAVE_LIBBROTLIDEC 1' => 1,