Permalink
Browse files

scratch_buffer_set_array_size: Include <limits.h>

It is needed for CHAR_BIT.
  • Loading branch information...
Florian Weimer
Florian Weimer committed Apr 7, 2016
1 parent a7d1c51 commit c04af6068b2c2c65c92b3360cbc4b51ad9843f21
Showing with 5 additions and 0 deletions.
  1. +4 −0 ChangeLog
  2. +1 −0 malloc/scratch_buffer_set_array_size.c
@@ -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
@@ -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,

0 comments on commit c04af60

Please sign in to comment.