Skip to content
Permalink
Browse files

hsearch_r: Include <limits.h>

It is needed for UINT_MAX.
  • Loading branch information...
Florian Weimer
Florian Weimer committed Apr 7, 2016
1 parent c04af60 commit 1d2a8245ff7bcc1d8be54f01e26c49297e446aba
Showing with 5 additions and 0 deletions.
  1. +4 −0 ChangeLog
  2. +1 −0 misc/hsearch_r.c
@@ -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>.
@@ -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) */

0 comments on commit 1d2a824

Please sign in to comment.
You can’t perform that action at this time.