This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Thu, 3 Jul 2014 21:17:19 -0700 (PDT)
- Subject: [COMMITTED PATCH] Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c
- Authentication-results: sourceware.org; auth=none
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