]> sourceware.org Git - newlib-cygwin.git/commitdiff
fixes to make compilation succeeds
authorPaul Zimmermann <Paul.Zimmermann@inria.fr>
Fri, 18 Dec 2020 08:52:40 +0000 (09:52 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 18 Dec 2020 09:06:31 +0000 (10:06 +0100)
newlib/libm/math/w_tgamma.c
newlib/libm/math/wf_tgamma.c

index 0f90dd4c6c03ef22c81da91c55c0c6bda0f68e08..52d5d71d3429889006b086bcdd130b535fa1cc1e 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #include "fdlibm.h"
+#include <errno.h>
 
 #ifndef _DOUBLE_IS_32BITS
 
index 80aacf75733b15c002e79cb0cc8ee6bfcd961f06..504cb4c29e54cb21872c9fbecfd0d63949d6ecbf 100644 (file)
@@ -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
 }
This page took 0.036206 seconds and 5 git commands to generate.