summaryrefslogtreecommitdiff
path: root/devel/cscope/patches/patch-ab
blob: 834daf8ac84e87c64679f28cb072c596d6be120b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.10 2006/03/23 16:09:32 yyamano Exp $

--- src/egrep.y.orig	2002-12-11 23:39:10.000000000 +0900
+++ src/egrep.y
@@ -605,7 +605,7 @@ done:	(void) fclose(fptr);
 
 /* FIXME HBB: should export this to a separate file and use
  * AC_REPLACE_FUNCS() */
-#if BSD
+#if !STDC_HEADERS && !defined(HAVE_MEMSET) && !defined(HAVE_MEMORY_H)
 /*LINTLIBRARY*/
 /*
  * Set an array of n chars starting at sp to the character c.