summary refs log tree commit diff
path: root/math/w_sqrtl_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_sqrtl_compat.c')
-rw-r--r--math/w_sqrtl_compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/w_sqrtl_compat.c b/math/w_sqrtl_compat.c
index b0afd1171c..0590f6d155 100644
--- a/math/w_sqrtl_compat.c
+++ b/math/w_sqrtl_compat.c
@@ -19,6 +19,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-ldouble.h>
 
 
 #if LIBM_SVID_COMPAT
@@ -31,5 +32,5 @@ __sqrtl (long double x)
 
   return __ieee754_sqrtl (x);
 }
-weak_alias (__sqrtl, sqrtl)
+libm_alias_ldouble (__sqrt, sqrt)
 #endif