$NetBSD: patch-bh,v 1.1 2005/12/14 13:53:24 joerg Exp $ --- readline/history.c.orig 1995-02-24 21:20:00.000000000 +0000 +++ readline/history.c @@ -45,6 +45,7 @@ extern char *alloca (); #include #include #include +#include #include #include "history.h" @@ -466,7 +467,6 @@ read_history_range (filename, from, to) char *input, *buffer = (char *)NULL; int file, current_line; struct stat finfo; - extern int errno; input = history_filename (filename); file = open (input, O_RDONLY, 0666); @@ -601,7 +601,6 @@ history_do_write (filename, nelements, o char *filename; int nelements, overwrite; { - extern int errno; register int i; char *output = history_filename (filename); int file, mode;