about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/w_ilogb.c2
-rw-r--r--math/w_ilogbf.c1
-rw-r--r--math/w_ilogbl.c1
3 files changed, 2 insertions, 2 deletions
diff --git a/math/w_ilogb.c b/math/w_ilogb.c
index c87b517c50..7cb897ad1d 100644
--- a/math/w_ilogb.c
+++ b/math/w_ilogb.c
@@ -18,6 +18,7 @@
 
 #include <math.h>
 #include <errno.h>
+#include <limits.h>
 #include <math_private.h>
 
 /* wrapper ilogb */
@@ -34,7 +35,6 @@ __ilogb (double x)
     }
   return r;
 }
-
 weak_alias (__ilogb, ilogb)
 #ifdef NO_LONG_DOUBLE
 strong_alias (__ilogb, __ilogbl)
diff --git a/math/w_ilogbf.c b/math/w_ilogbf.c
index 27a0c582d3..aa48bc4c30 100644
--- a/math/w_ilogbf.c
+++ b/math/w_ilogbf.c
@@ -35,5 +35,4 @@ __ilogbf (float x)
     }
   return r;
 }
-
 weak_alias (__ilogbf, ilogbf)
diff --git a/math/w_ilogbl.c b/math/w_ilogbl.c
index 8c30caa48b..7cfc648e8e 100644
--- a/math/w_ilogbl.c
+++ b/math/w_ilogbl.c
@@ -18,6 +18,7 @@
 
 #include <math.h>
 #include <errno.h>
+#include <limits.h>
 #include <math_private.h>
 
 /* wrapper ilogbl */