2013-09-26 17:14:40 +02:00

22 lines
494 B
Plaintext

$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 **/