This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH COMMITTED] scratch_buffer_set_array_size: Include <limits.h>


It is needed for CHAR_BIT.

Florian
2016-04-07  Florian Weimer  <fweimer@redhat.com>

	* malloc/scratch_buffer_set_array_size.c: Include <limits.h>.

diff --git a/malloc/scratch_buffer_set_array_size.c b/malloc/scratch_buffer_set_array_size.c
index 3d33731..9254c9a 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,

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]