diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-07-03 21:15:56 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-07-03 21:15:56 -0700 |
commit | 2d5976a58069dda271d81fdcec36de13345d77ac (patch) | |
tree | 3e7acd66d449880beac052c471454c75cc7ba4ef | |
parent | c1f5acd4f49a390ba536af0104835be37cba19ca (diff) | |
download | glibc-2d5976a58069dda271d81fdcec36de13345d77ac.tar glibc-2d5976a58069dda271d81fdcec36de13345d77ac.tar.gz glibc-2d5976a58069dda271d81fdcec36de13345d77ac.tar.bz2 glibc-2d5976a58069dda271d81fdcec36de13345d77ac.zip |
Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/alpha/fpu/s_nearbyint.c | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -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. 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 <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 |