about summary refs log tree commit diff
path: root/malloc
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 /malloc
parenta7d1c51482d15ab6c07e2ee0ae5e007067b18bfb (diff)
downloadglibc-c04af6068b2c2c65c92b3360cbc4b51ad9843f21.tar.gz
glibc-c04af6068b2c2c65c92b3360cbc4b51ad9843f21.tar.xz
glibc-c04af6068b2c2c65c92b3360cbc4b51ad9843f21.zip
scratch_buffer_set_array_size: Include <limits.h>
It is needed for CHAR_BIT.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/scratch_buffer_set_array_size.c1
1 files changed, 1 insertions, 0 deletions
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,