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