--- grammar/lexer.l.orig 2018-08-26 22:03:25 UTC +++ grammar/lexer.l @@ -97,7 +97,7 @@ extern int yydebug; /* somehow, I need these prototype even though the headers are * included. I guess that's some autotools magic I don't understand... */ -#if !defined(__FreeBSD__) +#if !defined(__FreeBSD__) && !defined(__BSDSUniX__) int fileno(FILE *stream); #endif