$NetBSD: patch-ae,v 1.1 2008/09/05 05:27:31 dholland Exp $

--- readline/history.c~	2005-05-06 04:48:54.000000000 -0400
+++ readline/history.c	2008-09-04 23:49:20.000000000 -0400
@@ -32,6 +32,7 @@ static char *xmalloc (), *xrealloc ();
 #endif
 
 #include <stdio.h>
+#include <string.h>
 #include <sys/types.h>
 #include <sys/file.h>
 #include <sys/stat.h>
