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

15 lines
415 B
Plaintext

$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,