On January 9, 2003 12:54 pm, Alexandre Julliard wrote: > You can do that just fine with my solution, all we need is a trivial > unistd.h in the msvcrt headers. Plus this way you also have a chance > to build the app under normal Unix, where you will never have io.h. OK, cool. What about this patch? On my system (RH 8.0), /usr/include/sys/unistd.h simply does #include <unistd.h> so it works perfectly with this addition. But is this standard? Should we just add a similar file to include/msvcrt/sys and be done with it? ChangeLog Add a unistd.h file for mingw/Unix compatibility. Index: include/Makefile.in =================================================================== RCS file: /var/cvs/wine/include/Makefile.in,v retrieving revision 1.79 diff -u -r1.79 Makefile.in --- include/Makefile.in 9 Jan 2003 01:09:16 -0000 1.79 +++ include/Makefile.in 9 Jan 2003 17:20:17 -0000 @@ -196,6 +196,7 @@ msvcrt/sys/types.h \ msvcrt/sys/utime.h \ msvcrt/time.h \ + msvcrt/unistd.h \ msvcrt/wchar.h \ msvcrt/wctype.h --- /dev/null 2002-08-30 19:31:37.000000000 -0400 +++ include/msvcrt/unistd.h 2003-01-09 12:18:20.000000000 -0500 @@ -0,0 +1,2 @@ +#include <io.h> +#include <process.h> -- Dimi.