]> granicus.if.org Git - python/commitdiff
include (now) int standard headers
authorBenjamin Peterson <benjamin@python.org>
Tue, 6 Sep 2016 19:41:06 +0000 (12:41 -0700)
committerBenjamin Peterson <benjamin@python.org>
Tue, 6 Sep 2016 19:41:06 +0000 (12:41 -0700)
Modules/_decimal/libmpdec/mpdecimal.h

index 56e4887cc8f933a267a9b2f1867f11dc12786886..daf2b9da38b8ac094a848f96c86d4a3094301936 100644 (file)
@@ -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