Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
hsearch_r: Include <limits.h>
It is needed for UINT_MAX.
  • Loading branch information
Florian Weimer committed Apr 7, 2016
1 parent c04af60 commit 1d2a824
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -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>.
Expand Down
1 change: 1 addition & 0 deletions misc/hsearch_r.c
Expand Up @@ -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) */
Expand Down

0 comments on commit 1d2a824

Please sign in to comment.