public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] fixes to make compilation succeeds Date: Fri, 18 Dec 2020 09:07:04 +0000 (GMT) [thread overview] Message-ID: <20201218090704.0CF8C3858039@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4bb6581aa824dea975c1c54078411c50284cc03e commit 4bb6581aa824dea975c1c54078411c50284cc03e Author: Paul Zimmermann <Paul.Zimmermann@inria.fr> Date: Fri Dec 18 09:52:40 2020 +0100 fixes to make compilation succeeds Diff: --- newlib/libm/math/w_tgamma.c | 1 + newlib/libm/math/wf_tgamma.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/newlib/libm/math/w_tgamma.c b/newlib/libm/math/w_tgamma.c index 0f90dd4c6..52d5d71d3 100644 --- a/newlib/libm/math/w_tgamma.c +++ b/newlib/libm/math/w_tgamma.c @@ -16,6 +16,7 @@ */ #include "fdlibm.h" +#include <errno.h> #ifndef _DOUBLE_IS_32BITS diff --git a/newlib/libm/math/wf_tgamma.c b/newlib/libm/math/wf_tgamma.c index 80aacf757..504cb4c29 100644 --- a/newlib/libm/math/wf_tgamma.c +++ b/newlib/libm/math/wf_tgamma.c @@ -15,6 +15,7 @@ #include "math.h" #include "fdlibm.h" +#include <errno.h> #ifdef __STDC__ float tgammaf(float x) @@ -34,7 +35,6 @@ errno = EDOM; else if (finite(x)) errno = ERANGE; - } return y; #endif }
reply other threads:[~2020-12-18 9:07 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20201218090704.0CF8C3858039@sourceware.org \ --to=corinna@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).