On Sat, Jun 07, 2003 at 02:39:57PM +0200, Gerald Pfeifer wrote: Gerald, Then I think we should use <time.h> - removing the include statement altogether will break compiling on NetBSD again. (Unless of course someone else suggests a better solution) Best regards, -- Yorick Hardy
Both including <time.h> and simple removing that #include statement from include/winsock.h solve this problem for me (on FreeBSD 4.8).
My intuition is that either the addition of #include <sys/time.h> needs to reverted or a dummy include/msvcrt/sys/time.h needs to be added, as these are the only two ways of avoiding mixture of the MSVCRT sys/types.h with the native systems sys/time.h.
(Or -I../../include/msvcrt should be removed when compiling programs/notepad, but I'm afraid that's not right either.)
Gerald -- Gerald "Jerry" pfeifer(a)dbai.tuwien.ac.at http://www.pfeifer.com/gerald/