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

Robert Shearman rob at
Tue Feb 19 04:49:23 CST 2008

Alexandre Julliard wrote:
> 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.

The point is that all of the files need it. Only tools/widl/parser.l 
needs to include unistd.h and it already does so manually.

Rob Shearman

More information about the wine-devel mailing list