about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--math/w_ilogbf.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e49be8d466..5e71ac6237 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-10  Roland McGrath  <roland@hack.frob.com>
+
+	* math/w_ilogbf.c: Add #include <limits.h>.
+
 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
diff --git a/math/w_ilogbf.c b/math/w_ilogbf.c
index ae3574a75d..27a0c582d3 100644
--- a/math/w_ilogbf.c
+++ b/math/w_ilogbf.c
@@ -18,6 +18,7 @@
 
 #include <math.h>
 #include <errno.h>
+#include <limits.h>
 #include <math_private.h>
 
 /* wrapper ilogbf */