hsearch_r: Include <limits.h>
authorFlorian Weimer <fweimer@redhat.com>
Thu, 7 Apr 2016 11:48:00 +0000 (13:48 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 7 Apr 2016 11:48:00 +0000 (13:48 +0200)
It is needed for UINT_MAX.

ChangeLog
misc/hsearch_r.c

index 7a785c4..c3b2053 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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>.
 
 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
index 1fca6b3..a24298b 100644 (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)  */