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

--- agrep/checkfile.c.orig	1999-11-03 21:37:06.000000000 +0100
+++ agrep/checkfile.c
@@ -24,7 +24,9 @@
 #define MAXLINE 512
 
 extern char Progname[];
+#ifndef errno
 extern int errno;
+#endif
 
 unsigned char ibuf[MAXLINE];