summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-06 19:41:06 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-06 19:41:06 (GMT)
commitbbeedc261f7ff6d9763c823f4d253ed27f77fc59 (patch)
tree38413de24118043325312e675a26a093459103b4 /Modules/_decimal
parentf6b8c350d39fea51de72047dccebe0c065690ba7 (diff)
downloadcpython-bbeedc261f7ff6d9763c823f4d253ed27f77fc59.zip
cpython-bbeedc261f7ff6d9763c823f4d253ed27f77fc59.tar.gz
cpython-bbeedc261f7ff6d9763c823f4d253ed27f77fc59.tar.bz2
include (now) int standard headers
Diffstat (limited to 'Modules/_decimal')
-rw-r--r--Modules/_decimal/libmpdec/mpdecimal.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Modules/_decimal/libmpdec/mpdecimal.h b/Modules/_decimal/libmpdec/mpdecimal.h
index 56e4887..daf2b9d 100644
--- a/Modules/_decimal/libmpdec/mpdecimal.h
+++ b/Modules/_decimal/libmpdec/mpdecimal.h
@@ -48,6 +48,8 @@ extern "C" {
#include <string.h>
#include <limits.h>
#include <assert.h>
+#include <stdint.h>
+#include <inttypes.h>
#ifdef _MSC_VER
#include "vccompat.h"
@@ -59,12 +61,6 @@ extern "C" {
#define MPD_HIDE_SYMBOLS_END
#define EXTINLINE extern inline
#else
- #ifdef HAVE_STDINT_H
- #include <stdint.h>
- #endif
- #ifdef HAVE_INTTYPES_H
- #include <inttypes.h>
- #endif
#ifndef __GNUC_STDC_INLINE__
#define __GNUC_STDC_INLINE__ 1
#endif