Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c

This commit is contained in:
Roland McGrath 2014-07-03 21:15:56 -07:00
parent c1f5acd4f4
commit 2d5976a580
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2014-07-03 Roland McGrath <roland@hack.frob.com>
* sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
* 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 <linux/version.h> actually works right.

View File

@ -16,8 +16,10 @@
License along with the GNU C Library. If not, see
<http://www.gnu.org/licenses/>. */
#include <math_ldbl_opt.h>
#include <sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c>
#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