$NetBSD: patch-ab,v 1.5 2006/08/08 22:07:48 xtraeme Exp $

--- estd.c.orig	2006-07-02 20:12:31.000000000 +0200
+++ estd.c	2006-08-09 00:03:55.000000000 +0200
@@ -27,6 +27,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 #include <time.h>
 #include <sys/param.h>
@@ -220,7 +221,7 @@
 	int             i;
 	char            frequencies[SYSCTLBUF];	/* XXX Ugly */
 	char           *fp;
-	int             freqsize = SYSCTLBUF;
+	size_t		freqsize = SYSCTLBUF;
 	int             freqtab[MAX_FREQS];
 	int             nfreqs = 0;
 	int             minidx = 0;
