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