summary refs log tree commit diff
path: root/math/w_tgammal_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_tgammal_compat.c')
-rw-r--r--math/w_tgammal_compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/w_tgammal_compat.c b/math/w_tgammal_compat.c
index c0e442955b..3695b7fbb3 100644
--- a/math/w_tgammal_compat.c
+++ b/math/w_tgammal_compat.c
@@ -22,6 +22,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-ldouble.h>
 
 #if LIBM_SVID_COMPAT
 long double
@@ -44,5 +45,5 @@ __tgammal(long double x)
 	}
 	return local_signgam < 0 ? - y : y;
 }
-weak_alias (__tgammal, tgammal)
+libm_alias_ldouble (__tgamma, tgamma)
 #endif