[COMMITTED] Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c
Commit Message
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>.
Comments
On 07/03/2014 09:17 PM, Roland McGrath wrote:
> I can't tell how alpha was compiling without this.
> Maybe before a recent change to the generic file it
> included the header indirectly?
>
Arg. Uncommitted change within my build tree. I must have done a git-add on
the first change, saw the failure, added the include, but failed to git-add
again before committing and pushing.
Thanks for fixing my error.
r~
@@ -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