]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
scratch_buffer_set_array_size: Include <limits.h>
authorFlorian Weimer <fweimer@redhat.com>
Thu, 7 Apr 2016 11:46:28 +0000 (13:46 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 7 Apr 2016 11:46:28 +0000 (13:46 +0200)
It is needed for CHAR_BIT.

ChangeLog
malloc/scratch_buffer_set_array_size.c

index a10b8c43e2d3c77a4d028253c1b57735869ab98a..7a785c450da74369f0fd07b138ccd70181618c3a 100644 (file)
--- 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
index 3d33731abb19ed3632716a403e4a0360c8e6842d..9254c9ae7bf4a007eec6db16cb34e2b6a0581f3a 100644 (file)
@@ -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,