hsearch_r: Include <limits.h>

It is needed for UINT_MAX.
This commit is contained in:
Florian Weimer 2016-04-07 13:48:00 +02:00
parent c04af6068b
commit 1d2a8245ff
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2016-04-07 Florian Weimer <fweimer@redhat.com>
* misc/hsearch_r.c: Include <limits.h>.
2016-04-07 Florian Weimer <fweimer@redhat.com>
* malloc/scratch_buffer_set_array_size.c: Include <limits.h>.

View File

@ -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) */