about summary refs log tree commit diff
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
parentb5982523b120586c33c8b9d47dcbbc3edfaec064 (diff)
downloadglibc-c23c33b01e2043fefd00b353b45844822905b43b.tar.gz
glibc-c23c33b01e2043fefd00b353b45844822905b43b.tar.xz
glibc-c23c33b01e2043fefd00b353b45844822905b43b.zip
Add missing includes.
Follow-up to commits 38de94a5efbc3de186d6f287d666f74e5b4c8247,
76da7265320010c7a273ed99f53938c0f32d5fad.
-rw-r--r--ChangeLog5
-rw-r--r--math/w_ilogb.c2
-rw-r--r--math/w_ilogbf.c1
-rw-r--r--math/w_ilogbl.c1
4 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f37974a9e3..4c474bb41f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
+
+	* math/w_ilogb.c: Include <limits.h>.
+	* math/w_ilogbl.c: Likewise.
+
 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
 
 	* manual/lang.texi (__va_copy): Document primarily as ISO C99
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 */