This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH COMMITTED] hsearch_r: 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:54:58 +0200
- Subject: [PATCH COMMITTED] hsearch_r: Include <limits.h>
- Authentication-results: sourceware.org; auth=none
It is needed for UINT_MAX.
Florian
2016-04-07 Florian Weimer <fweimer@redhat.com>
* misc/hsearch_r.c: Include <limits.h>.
diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c
index 1fca6b3..a24298b 100644
--- a/misc/hsearch_r.c
+++ b/misc/hsearch_r.c
@@ -21,6 +21,7 @@
#include <string.h>
#include <stdint.h>
#include <search.h>
+#include <limits.h>
/* [Aho,Sethi,Ullman] Compilers: Principles, Techniques and Tools, 1986
[Knuth] The Art of Computer Programming, part 3 (6.4) */