$NetBSD$

--- src/hsearch.c.orig	1996-09-04 10:54:03.000000000 +0000
+++ src/hsearch.c
@@ -19,7 +19,7 @@ not, write to the Free Software Foundati
 Cambridge, MA 02139, USA.  */
 
 #include "ansidecl.h"
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include "search.h"
@@ -55,7 +55,7 @@ static unsigned   filled;
  */
 
 static int
-DEFUN(isprime, (number), unsigned number)
+DEFUN(isprime, (number), size_t number)
 {
     /* no even number will be passed */
     unsigned div = 3;
@@ -76,7 +76,7 @@ DEFUN(isprime, (number), unsigned number
  */
 
 int
-DEFUN(hcreate, (nel), unsigned nel)
+DEFUN(hcreate, (nel), size_t nel)
 {
     /* There is still a table active. Return with error. */
     if (htable != NULL)
