summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-10-02 15:20:37 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-10-02 15:20:37 (GMT)
commit40e9aed050e4fac881487fcfb125306fce0431d9 (patch)
treeaa333d9cdc5f481a1f607043e11f9a5c4ddfcc22 /Include
parentebe26709d2c5c6b633071acc9565ca6116cd0a55 (diff)
downloadcpython-40e9aed050e4fac881487fcfb125306fce0431d9.zip
cpython-40e9aed050e4fac881487fcfb125306fce0431d9.tar.gz
cpython-40e9aed050e4fac881487fcfb125306fce0431d9.tar.bz2
Guard uintptr_t test with HAVE_STDINT_H, test for
stdint.h. Will backport.
Diffstat (limited to 'Include')
-rw-r--r--Include/pyport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 8f8e514..6fe3f0b 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -3,6 +3,10 @@
#include "pyconfig.h" /* include for defines */
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
/**************************************************************************
Symbols and macros to supply platform-independent interfaces to basic
C language & library operations whose spellings vary across platforms.