Pass the --nounistd flag to flex since unistd.h is a header that might not be present on all systems.

Alexandre Julliard julliard at
Tue Feb 19 04:15:46 CST 2008

Robert Shearman <rob at> writes:

> If we do need it, we can include it in the .l file after config.h and
> with an appropriate include guard.

You should instead put a %option in the files that need it.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list