This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] Add missing include to tgammaf
- From: Kazunori Asayama <asayama at sm dot sony dot co dot jp>
- To: newlib at sourceware dot org
- Date: Wed, 05 Sep 2007 00:05:24 +0900 (JST)
- Subject: [PATCH] Add missing include to tgammaf
This patch adds a missing include which contains prototypes needed by
the tgammaf implementation. Without this change, tgammaf can return
wrong result in some ABIs.
2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
* libm/math/wf_tgamma.c: Add missing include.
---
newlib/libm/math/wf_tgamma.c | 1 +
1 file changed, 1 insertion(+)
Index: b/newlib/libm/math/wf_tgamma.c
===================================================================
--- a/newlib/libm/math/wf_tgamma.c 2002-06-08 06:59:56.000000000 +0900
+++ b/newlib/libm/math/wf_tgamma.c 2007-09-04 19:15:54.000000000 +0900
@@ -14,6 +14,7 @@
*/
#include "math.h"
+#include "fdlibm.h"
#ifdef __STDC__
float tgammaf(float x)