about summary refs log tree commit diff
path: root/math/w_fmodl_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_fmodl_compat.c')
-rw-r--r--math/w_fmodl_compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/w_fmodl_compat.c b/math/w_fmodl_compat.c
index 3136e82d65..1db57671fd 100644
--- a/math/w_fmodl_compat.c
+++ b/math/w_fmodl_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
 /* wrapper fmodl */
@@ -32,5 +33,5 @@ __fmodl (long double x, long double y)
 
   return __ieee754_fmodl (x, y);
 }
-weak_alias (__fmodl, fmodl)
+libm_alias_ldouble (__fmod, fmod)
 #endif