Heres where it should be in port.h. Sorry about that I didn't see the ifndef NO_WINELIB cvs diff -u port.h Index: port.h =================================================================== RCS file: /home/wine/wine/include/wine/port.h,v retrieving revision 1.22 diff -u -r1.22 port.h --- port.h 26 Apr 2002 19:05:17 -0000 1.22 +++ port.h 5 May 2002 08:56:32 -0000 @@ -104,6 +83,10 @@ #define RTLD_GLOBAL 0x100 #endif +#if !defined(HAVE_FTRUNCATE) && defined(HAVE_CHSIZE) +#define ftruncate chsize +#endif + #if !defined(HAVE_POPEN) && defined(HAVE__POPEN) #define popen _popen #endif