aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-04-07 13:46:28 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-04-07 13:46:28 +0200
commitc04af6068b2c2c65c92b3360cbc4b51ad9843f21 (patch)
tree534614269a86306146d6236f781258c66dfff10d
parenta7d1c51482d15ab6c07e2ee0ae5e007067b18bfb (diff)
downloadglibc-c04af6068b2c2c65c92b3360cbc4b51ad9843f21.tar
glibc-c04af6068b2c2c65c92b3360cbc4b51ad9843f21.tar.gz
glibc-c04af6068b2c2c65c92b3360cbc4b51ad9843f21.tar.bz2
glibc-c04af6068b2c2c65c92b3360cbc4b51ad9843f21.zip
scratch_buffer_set_array_size: Include <limits.h>
It is needed for CHAR_BIT.
-rw-r--r--ChangeLog4
-rw-r--r--malloc/scratch_buffer_set_array_size.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a10b8c43e2..7a785c450d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-04-07 Florian Weimer <fweimer@redhat.com>
+
+ * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
+
2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
diff --git a/malloc/scratch_buffer_set_array_size.c b/malloc/scratch_buffer_set_array_size.c
index 3d33731abb..9254c9ae7b 100644
--- a/malloc/scratch_buffer_set_array_size.c
+++ b/malloc/scratch_buffer_set_array_size.c
@@ -18,6 +18,7 @@
#include <scratch_buffer.h>
#include <errno.h>
+#include <limits.h>
bool
__libc_scratch_buffer_set_array_size (struct scratch_buffer *buffer,