summaryrefslogtreecommitdiff
path: root/editors/bvi/patches/patch-aa
blob: 0cf5348be3689a20e42e7df3f36655b6d74ac7cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$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 **/