alpha: Fix ev4 build with ev6 compiler
authorRichard Henderson <rth@twiddle.net>
Wed, 6 Jun 2012 21:39:23 +0000 (14:39 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 6 Jun 2012 21:39:23 +0000 (14:39 -0700)
ChangeLog.alpha
sysdeps/alpha/fpu/e_sqrt.c

index ceee910..0598d7e 100644 (file)
@@ -1,5 +1,8 @@
 2012-06-06  Richard Henderson  <rth@twiddle.net>
 
+       * sysdeps/alpha/fpu/e_sqrt.c: Include <math_private.h> before
+       redefining __ieee758_sqrt.
+
        * sysdeps/alpha/alphaev6/stxcpy.S: Use cfi markup instead of
        dual ecoff procedure descriptors.
        * sysdeps/alpha/alphaev6/stxncpy.S: Likewise.
index 22b24b5..ad10dad 100644 (file)
@@ -16,7 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#include <features.h>
+#include <math.h>
+#include <math_private.h>
 
 #if !defined(_IEEE_FP_INEXACT)