From bdac43ecc706c7c199e37ca6021acc2f1b7fd5b2 Mon Sep 17 00:00:00 2001 From: Frederick Price Date: Tue, 5 Mar 2024 13:46:55 -0500 Subject: [PATCH] Always include inttypes.h because of pytime.h --- Include/pyport.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Include/pyport.h b/Include/pyport.h index 454938e31b33d5..a5bf7c5d0d2a9f 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -3,11 +3,12 @@ #include "pyconfig.h" /* include for defines */ +/* Always include inttypes.h now because of pytime.h */ /* Some versions of HP-UX & Solaris need inttypes.h for int32_t, INT32_MAX, etc. */ -#ifdef HAVE_INTTYPES_H +/* #ifdef HAVE_INTTYPES_H */ #include -#endif +/* #endif */ #ifdef HAVE_STDINT_H #include