pkgsrc/editors/bvi/patches/patch-aa
2005-12-09 13:47:58 +00:00

21 lines
494 B
Text

$NetBSD: patch-aa,v 1.3 2005/12/09 13:47:58 joerg Exp $
--- comm.c.orig 2005-12-09 13:37:50.000000000 +0000
+++ comm.c
@@ -32,6 +32,8 @@
#include "bvi.h"
#include "set.h"
+#include <errno.h>
+
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
@@ -81,7 +83,6 @@ PTR end_addr;
extern char *name; /* actual filename */
extern char **files; /* used for "next" and "rewind" */
extern int numfiles, curfile;
-extern int errno;
static char oldbuf[CMDSZ]; /** for :!! command **/