]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 7a785c450da74369f0fd07b138ccd70181618c3a..c3b2053512995abc05275dfe75298fc24940af8f 100644 (file)
--- a/ChangeLog
+++ b/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>.
index 1fca6b3222196bbee373c7a837b0e3e8f26b8f0e..a24298b3c3b176c077dfe7ca7ebb36c712ef1cd5 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)  */