diff --git a/ChangeLog b/ChangeLog index 996b346a7c..d31dcaab13 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 dc13910b3b..2c8707f693 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