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

--- agrep/agrep.c.orig	2003-01-25 21:15:05.000000000 +0100
+++ agrep/agrep.c
@@ -11,7 +11,9 @@
 #define PRINT(s)
 
 extern char **environ;
+#ifndef errno
 extern int errno;
+#endif
 int pattern_index;	/* index in argv where the pattern is */
 
 int glimpse_isserver=0;	/* so that there is no user interaction */