1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ah,v 1.1 2005/06/04 10:44:29 wiz Exp $
--- agrep/checksg.c.orig 2002-09-27 23:41:09.000000000 +0200
+++ agrep/checksg.c
@@ -3,7 +3,9 @@
#include "checkfile.h"
#include <errno.h>
+#ifndef errno
extern int errno;
+#endif
extern CHAR Progname[MAXNAME];
extern int SGREP, PAT_FILE, PAT_BUFFER, EXITONERROR, SIMPLEPATTERN,
CONSTANT, D, NOUPPER, JUMP, I, LINENUM, INVERSE, WORDBOUND, WHOLELINE,
|