$NetBSD: patch-ab,v 1.2 2017/01/05 09:40:00 jperkin Exp $ Ensure the local yywrap is used. --- lex.l.orig 1997-12-12 17:21:58.000000000 +0000 +++ lex.l @@ -6,7 +6,8 @@ extern int ParseError; extern FILE *rcfile; #undef yyin #define yyin rcfile -#define yywrap() 1 +#undef yywrap +static int yywrap(void) { return 1; } extern int parse_keyword(char *); void fixup_string(char *, char *); %}