[COMMITTED] Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c

Message ID 20140704041719.D25972C3988@topped-with-meat.com (mailing list archive)
State Committed
Headers

Commit Message

Roland McGrath July 4, 2014, 4:17 a.m. UTC
  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

Richard Henderson July 7, 2014, 3:10 p.m. UTC | #1
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~
  

Patch

--- 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