Skip to content

Commit bdac43e

Browse files
committed
Always include inttypes.h because of pytime.h
1 parent 22b6ffd commit bdac43e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Include/pyport.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33

44
#include "pyconfig.h" /* include for defines */
55

6+
/* Always include inttypes.h now because of pytime.h */
67
/* Some versions of HP-UX & Solaris need inttypes.h for int32_t,
78
INT32_MAX, etc. */
8-
#ifdef HAVE_INTTYPES_H
9+
/* #ifdef HAVE_INTTYPES_H */
910
#include <inttypes.h>
10-
#endif
11+
/* #endif */
1112

1213
#ifdef HAVE_STDINT_H
1314
#include <stdint.h>

0 commit comments

Comments
 (0)