> I'm including my revised version of win32_kludge.diff. I think that you should modify your config.h so that HAVE_SYS_TIME_H is not defined...
--- src/frontends/LyXView.C 2005/04/26 10:30:22 1.52 +++ src/frontends/LyXView.C 2005/04/26 15:39:37 @@ -39,8 +39,10 @@ #include <boost/bind.hpp> +#ifndef _WIN32 #ifdef HAVE_SYS_TIME_H # include <sys/time.h> +#endif #endif #ifdef HAVE_UNISTD_H # include <unistd.h> Looking at the other bits of win32_kludge.diff, can you confirm that 'time' and 'isalpha' are not in namespace std? What, exactly, do you need from windows.h here? Do you have a sys/utime.h ? --- src/buffer.C 18 Apr 2005 17:43:08 -0000 1.615 +++ src/buffer.C 18 Apr 2005 17:37:02 -0000 @@ -78,7 +78,11 @@ #include <boost/bind.hpp> #include <boost/filesystem/operations.hpp> -#include <utime.h> +#ifdef _WIN32 +# include <windows.h> +#else +# include <utime.h> +#endif Angus