From f91f72607b8101bfe9df3bf8327c99e9a1f21a00 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Wed, 22 Apr 2020 20:18:19 +0200 Subject: Drop unnecessary stdint and inttypes header checks These are always available as of C99. Closes GH-5323 Co-authored-by: "Christoph M. Becker" --- build/php.m4 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'build') diff --git a/build/php.m4 b/build/php.m4 index c43340315f..1b9940147e 100644 --- a/build/php.m4 +++ b/build/php.m4 @@ -1044,9 +1044,7 @@ AC_DEFUN([_PHP_CHECK_SIZEOF], [ AC_RUN_IFELSE([AC_LANG_SOURCE([[#include #include #include -#ifdef HAVE_INTTYPES_H #include -#endif #ifdef HAVE_UNISTD_H #include #endif @@ -2421,9 +2419,7 @@ AC_DEFUN([PHP_CHECK_STDINT_TYPES], [ AC_CHECK_SIZEOF([long long]) AC_CHECK_SIZEOF([size_t]) AC_CHECK_TYPES([int8, int16, int32, int64, int8_t, int16_t, int32_t, int64_t, uint8, uint16, uint32, uint64, uint8_t, uint16_t, uint32_t, uint64_t, u_int8_t, u_int16_t, u_int32_t, u_int64_t], [], [], [ -#if HAVE_STDINT_H -# include -#endif +#include #if HAVE_SYS_TYPES_H # include #endif -- cgit v1.2.1