about summary refs log tree commit diff
path: root/math/w_tgammaf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_tgammaf_compat.c')
-rw-r--r--math/w_tgammaf_compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/w_tgammaf_compat.c b/math/w_tgammaf_compat.c
index 796850b4d9..e9ffddb796 100644
--- a/math/w_tgammaf_compat.c
+++ b/math/w_tgammaf_compat.c
@@ -17,6 +17,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-float.h>
 
 #if LIBM_SVID_COMPAT
 float
@@ -43,5 +44,5 @@ __tgammaf(float x)
 	}
 	return local_signgam < 0 ? - y : y;
 }
-weak_alias (__tgammaf, tgammaf)
+libm_alias_float (__tgamma, tgamma)
 #endif