From e005a3c01bac8d86418336885e3501ef90aeac10 Mon Sep 17 00:00:00 2001 From: TAKAI Kousuke <62541129+t-a-k@users.noreply.github.com> Date: Sat, 16 Jul 2022 17:29:05 +0900 Subject: Configure: Add missing `#include ` to test programs With -Duse64bitint on 32-bit machines, UV might be configured to `uint64_t`. But some Configure tests used $uvtype without including , which may cause compilation error of those tests on sucn configurations, and eventually make perl not built correctly. --- Configure | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Configure') diff --git a/Configure b/Configure index ab468d566b..72477c032d 100755 --- a/Configure +++ b/Configure @@ -17026,6 +17026,10 @@ $cat <try.c #ifdef I_STDLIB #include #endif +#$i_inttypes I_INTTYPES +#ifdef I_INTTYPES +#include +#endif #include #include #ifdef SIGFPE @@ -20124,6 +20128,10 @@ EOM #ifdef I_STDLIB #include #endif +#$i_inttypes I_INTTYPES +#ifdef I_INTTYPES +#include +#endif #include typedef $uvtype UV; int main() -- cgit v1.2.1