about summary refs log tree commit diff
path: root/src/math/lgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/lgamma.c')
-rw-r--r--src/math/lgamma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/math/lgamma.c b/src/math/lgamma.c
index 17b5aff0..d8b85312 100644
--- a/src/math/lgamma.c
+++ b/src/math/lgamma.c
@@ -1,10 +1,11 @@
 #include "libm.h"
 
+extern int __signgam;
 double __lgamma_r(double, int *);
 
 double lgamma(double x)
 {
-	return __lgamma_r(x, &signgam);
+	return __lgamma_r(x, &__signgam);
 }
 
 // FIXME