[COMMITTED PATCH] Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c
Roland McGrath
roland@hack.frob.com
Fri Jul 4 04:17:00 GMT 2014
I can't tell how alpha was compiling without this.
Maybe before a recent change to the generic file it
included the header indirectly?
Thanks,
Roland
* sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
--- 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
More information about the Libc-alpha
mailing list