diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-06-30 15:32:30 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-06-30 15:32:30 (GMT) |
commit | 2f865b962cc26366ddd374233ee78ee759e62f68 (patch) | |
tree | b575cd34241794668a05470435978d7eb973ecdc /Include | |
parent | 5dfc7f9fc8b0a7eda357643234e415ff51e79711 (diff) | |
download | cpython-2f865b962cc26366ddd374233ee78ee759e62f68.zip cpython-2f865b962cc26366ddd374233ee78ee759e62f68.tar.gz cpython-2f865b962cc26366ddd374233ee78ee759e62f68.tar.bz2 |
Issue #6347: Add inttypes.h to the pyport.h #includes; fixes a build
failure on HP-UX 11.00.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pyport.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h index f44c43e..da83196 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -3,6 +3,12 @@ #include "pyconfig.h" /* include for defines */ +/* Some versions of HP-UX & Solaris need inttypes.h for int32_t, + INT32_MAX, etc. */ +#ifdef HAVE_INTTYPES_H +#include <inttypes.h> +#endif + #ifdef HAVE_STDINT_H #include <stdint.h> #endif |