summaryrefslogtreecommitdiff
path: root/textproc/glimpse/patches/patch-al
blob: a6bead277698d6b08ae1c41867e8e889f23a0b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-al,v 1.1 2005/06/04 10:44:29 wiz Exp $

--- agrep/preprocess.c.orig	2002-09-27 23:41:09.000000000 +0200
+++ agrep/preprocess.c
@@ -26,7 +26,9 @@ extern CHAR tc_D_pattern[MaxDelimit * 2]
 extern int table[WORD][WORD];
 extern int agrep_initialfd;
 extern int EXITONERROR;
+#ifndef errno
 extern int errno;
+#endif
 
 extern int  multifd;
 extern char *multibuf;