diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-04-07 13:46:28 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-04-07 13:46:28 +0200 |
commit | c04af6068b2c2c65c92b3360cbc4b51ad9843f21 (patch) | |
tree | 534614269a86306146d6236f781258c66dfff10d | |
parent | a7d1c51482d15ab6c07e2ee0ae5e007067b18bfb (diff) | |
download | glibc-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-- | ChangeLog | 4 | ||||
-rw-r--r-- | malloc/scratch_buffer_set_array_size.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -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, |