]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add missing includes.
authorThomas Schwinge <thomas@codesourcery.com>
Sun, 22 Jul 2012 20:25:14 +0000 (22:25 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Sun, 22 Jul 2012 20:25:14 +0000 (22:25 +0200)
Follow-up to commits 38de94a5efbc3de186d6f287d666f74e5b4c8247,
76da7265320010c7a273ed99f53938c0f32d5fad.

ChangeLog
math/w_ilogb.c
math/w_ilogbf.c
math/w_ilogbl.c

index f37974a9e3004238cae41a9a3bdbed44cc20a8b8..4c474bb41f8d7b5e30e0efb574605c0be1a4a1ff 100644 (file)
--- 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
index c87b517c504225ce7cd3c62cd462606f476d9ac0..7cb897ad1d323e13ec7ab9573a1fb04e2a4b9575 100644 (file)
@@ -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)
index 27a0c582d3fcc992a6c76732da3ea6ca003d6aa7..aa48bc4c309787c6859d9c0465a618173052c686 100644 (file)
@@ -35,5 +35,4 @@ __ilogbf (float x)
     }
   return r;
 }
-
 weak_alias (__ilogbf, ilogbf)
index 8c30caa48ba29205328a52405961f757fe915e8a..7cfc648e8e7377a5299b24dbcae32e011dabd7ff 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <math.h>
 #include <errno.h>
+#include <limits.h>
 #include <math_private.h>
 
 /* wrapper ilogbl */