about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-07-22 22:25:14 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-07-22 22:25:14 +0200
commitc23c33b01e2043fefd00b353b45844822905b43b (patch)
treeb3f60c0900b9b75fad10459421b19528c3113f74 /math
parentb5982523b120586c33c8b9d47dcbbc3edfaec064 (diff)
downloadglibc-c23c33b01e2043fefd00b353b45844822905b43b.tar.gz
glibc-c23c33b01e2043fefd00b353b45844822905b43b.tar.xz
glibc-c23c33b01e2043fefd00b353b45844822905b43b.zip
Add missing includes.
Follow-up to commits 38de94a5efbc3de186d6f287d666f74e5b4c8247,
76da7265320010c7a273ed99f53938c0f32d5fad.
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 */