about summary refs log tree commit diff
path: root/math/w_sqrtf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_sqrtf_compat.c')
-rw-r--r--math/w_sqrtf_compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/w_sqrtf_compat.c b/math/w_sqrtf_compat.c
index bd3d5048fc..6c8c7e3857 100644
--- a/math/w_sqrtf_compat.c
+++ b/math/w_sqrtf_compat.c
@@ -19,6 +19,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-float.h>
 
 
 #if LIBM_SVID_COMPAT
@@ -31,5 +32,5 @@ __sqrtf (float x)
 
   return __ieee754_sqrtf (x);
 }
-weak_alias (__sqrtf, sqrtf)
+libm_alias_float (__sqrt, sqrt)
 #endif