diff options
Diffstat (limited to 'chat/icb/patches/patch-bh')
-rw-r--r-- | chat/icb/patches/patch-bh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/chat/icb/patches/patch-bh b/chat/icb/patches/patch-bh new file mode 100644 index 00000000000..86a5a720c15 --- /dev/null +++ b/chat/icb/patches/patch-bh @@ -0,0 +1,28 @@ +$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 <sys/types.h> + #include <sys/file.h> + #include <sys/stat.h> ++#include <errno.h> + #include <fcntl.h> + #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; |