about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-07-03 21:15:56 -0700
committerRoland McGrath <roland@hack.frob.com>2014-07-03 21:15:56 -0700
commit2d5976a58069dda271d81fdcec36de13345d77ac (patch)
tree3e7acd66d449880beac052c471454c75cc7ba4ef
parentc1f5acd4f49a390ba536af0104835be37cba19ca (diff)
downloadglibc-2d5976a58069dda271d81fdcec36de13345d77ac.tar.gz
glibc-2d5976a58069dda271d81fdcec36de13345d77ac.tar.xz
glibc-2d5976a58069dda271d81fdcec36de13345d77ac.zip
Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/alpha/fpu/s_nearbyint.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 996b346a7c..d31dcaab13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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