From 2d5976a58069dda271d81fdcec36de13345d77ac Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 3 Jul 2014 21:15:56 -0700 Subject: [PATCH] Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c --- ChangeLog | 2 ++ sysdeps/alpha/fpu/s_nearbyint.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 996b346..d31dcaa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-07-03 Roland McGrath + * sysdeps/alpha/fpu/s_nearbyint.c: Include . + * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than AC_EGREP_CPP for kernel header checks, so they only succeed if including actually works right. diff --git a/sysdeps/alpha/fpu/s_nearbyint.c b/sysdeps/alpha/fpu/s_nearbyint.c index dc13910..2c8707f 100644 --- a/sysdeps/alpha/fpu/s_nearbyint.c +++ b/sysdeps/alpha/fpu/s_nearbyint.c @@ -16,8 +16,10 @@ License along with the GNU C Library. If not, see . */ +#include + #include -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +#if LONG_DOUBLE_COMPAT (libm, GLIBC_2_1) compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_1); #endif -- 2.7.4