The following patch to dlls/msvcrt/file.c
revision 1.23 date: 2002/04/26 19:05:16; author: julliard; state: Exp; lines: +4 -0 Better support for configure detection of missing types, added check for ssize_t. Removed a couple of no longer used portability functions. Various portability fixes in port.h.
breaks FreeBSD 4.5:
/usr/bin/gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -DUSE_MSVCRT_PREFIX -D_MT -D_REENTRANT -I/usr/X11R6/include -o file.o file.c In file included from file.c:43: ../../include/msvcrt/sys/stat.h:34: syntax error before `.' ../../include/msvcrt/sys/stat.h:35: syntax error before `.' ../../include/msvcrt/sys/stat.h:36: syntax error before `.' ../../include/msvcrt/sys/stat.h:48: syntax error before `.' ../../include/msvcrt/sys/stat.h:49: syntax error before `.' ../../include/msvcrt/sys/stat.h:50: syntax error before `.' file.c: In function `_fstat': file.c:693: structure has no member named `st_atimespec' file.c:695: structure has no member named `st_mtimespec' file.c:695: structure has no member named `st_ctimespec' file.c: In function `_stat': file.c:1181: structure has no member named `st_atimespec' file.c:1183: structure has no member named `st_mtimespec' file.c:1183: structure has no member named `st_ctimespec' file.c:1185: structure has no member named `st_atimespec' file.c:1185: structure has no member named `st_mtimespec' file.c:1185: structure has no member named `st_ctimespec' file.c: In function `_wstat': file.c:1242: structure has no member named `st_atimespec' file.c:1244: structure has no member named `st_mtimespec' file.c:1244: structure has no member named `st_ctimespec' file.c:1246: structure has no member named `st_atimespec' file.c:1246: structure has no member named `st_mtimespec' file.c:1246: structure has no member named `st_ctimespec' gmake[2]: *** [file.o] Error 1 gmake[2]: Leaving directory `/.amd_mnt/vexpert/files8/test/wine/dlls/msvcrt' gmake[1]: *** [msvcrt/msvcrt.dll.so] Error 2
Gerald