This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH COMMITTED] scratch_buffer_set_array_size: Include <limits.h>
- From: Florian Weimer <fweimer at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 7 Apr 2016 13:53:57 +0200
- Subject: [PATCH COMMITTED] scratch_buffer_set_array_size: Include <limits.h>
- Authentication-results: sourceware.org; auth=none
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,