diff --git a/configure.ac b/configure.ac index e7f59f8e6d..7b6446a1ab 100644 --- a/configure.ac +++ b/configure.ac @@ -1247,8 +1247,10 @@ AC_LINK_IFELSE( AC_MSG_CHECKING([compiler support for __builtin_mul_overflow()]) AC_LINK_IFELSE( [AC_LANG_PROGRAM( - [[#include ]], - [[return (__builtin_mul_overflow(UINT64_C(UINT64_MAX), UINT64_C(UINT64_MAX), &(uint64_t){ 0 }));]] + [[#include + #include + ]], + [[return (__builtin_mul_overflow(UINT64_MAX, UINT64_MAX, &(uint64_t){ 0 }));]] )], [AC_MSG_RESULT([yes]) AC_DEFINE([HAVE_BUILTIN_MUL_OVERFLOW], [1], [define if the compiler supports __builtin_mul_overflow().])