pkgsrc/textproc/glimpse/patches/patch-ae

14 lines
438 B
Text

$NetBSD: patch-ae,v 1.4 2008/06/05 17:21:48 ghen Exp $
--- index/glimpse.c.orig 2006-03-25 03:13:55.000000000 +0100
+++ index/glimpse.c 2008-06-05 18:21:07.000000000 +0200
@@ -9,7 +9,9 @@
#include <errno.h>
extern char **environ;
+#ifndef errno
extern int errno;
+#endif
extern FILE *TIMEFILE; /* file descriptor for sorting .glimpse_filenames by time */
#if BG_DEBUG
extern FILE *LOGFILE; /* file descriptor for LOG output */