diff --git a/test-suite/standalone/test-round.c b/test-suite/standalone/test-round.c index f1458af29..150c8816e 100644 --- a/test-suite/standalone/test-round.c +++ b/test-suite/standalone/test-round.c @@ -25,7 +25,16 @@ #include #if HAVE_FENV_H -#include +# if defined __GNUC__ && defined __GLIBC__ +/* In Glibc 2.17, defines `feraiseexcept' as an inline + without declaring it first, so ignore the warning. */ +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wmissing-prototypes" +# endif +# include +# if defined __GNUC__ && defined __GLIBC__ +# pragma GCC diagnostic pop +# endif #elif defined HAVE_MACHINE_FPU_H /* On Tru64 5.1b, the declaration of fesetround(3) is in . On NetBSD, this header has to be included along with . */