about summary refs log tree commit diff
path: root/src/math/lgammal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/lgammal.c')
-rw-r--r--src/math/lgammal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/math/lgammal.c b/src/math/lgammal.c
index 5dd851a6..ec7c9a04 100644
--- a/src/math/lgammal.c
+++ b/src/math/lgammal.c
@@ -388,9 +388,11 @@ long double __lgammal_r(long double x, int *sg) {
 }
 #endif
 
+extern int __signgam;
+
 long double lgammal(long double x)
 {
-	return __lgammal_r(x, &signgam);
+	return __lgammal_r(x, &__signgam);
 }
 
 weak_alias(__lgammal_r, lgammal_r);