about summary refs log tree commit diff
path: root/math/w_ilogb.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_ilogb.c')
-rw-r--r--math/w_ilogb.c2
1 files changed, 1 insertions, 1 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)