about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/hsearch_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c
index 1fca6b3222..a24298b3c3 100644
--- a/misc/hsearch_r.c
+++ b/misc/hsearch_r.c
@@ -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)  */