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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/math/lgamma.c b/src/math/lgamma.c
index 9af7eee4..17b5aff0 100644
--- a/src/math/lgamma.c
+++ b/src/math/lgamma.c
@@ -1,9 +1,10 @@
-#define _GNU_SOURCE
 #include "libm.h"
 
+double __lgamma_r(double, int *);
+
 double lgamma(double x)
 {
-	return lgamma_r(x, &signgam);
+	return __lgamma_r(x, &signgam);
 }
 
 // FIXME