aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-04-07 13:48:00 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-04-07 13:48:00 +0200
commit1d2a8245ff7bcc1d8be54f01e26c49297e446aba (patch)
tree81dc44ba962802352c18885e7d7bd7f771783c72 /misc
parentscratch_buffer_set_array_size: Include <limits.h> (diff)
downloadglibc-1d2a8245ff7bcc1d8be54f01e26c49297e446aba.tar.gz
glibc-1d2a8245ff7bcc1d8be54f01e26c49297e446aba.tar.bz2
glibc-1d2a8245ff7bcc1d8be54f01e26c49297e446aba.zip
hsearch_r: Include <limits.h>
It is needed for UINT_MAX.
Diffstat (limited to 'misc')
-rw-r--r--misc/hsearch_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c
index 1fca6b3222..a24298b3c3 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) */