$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.