On Sat, 7 Jun 2003, Yorick Hardy wrote:
I guess I broke it, so I should fix it :-). I cannot see that it would work, but would you mind first trying to include <time.h> instead of <sys/time.h> as pointed out by
http://www.winehq.org/hypermail/wine-devel/2003/05/0732.html
Both including <time.h> and simple removing that #include statement from include/winsock.h solve this problem for me (on FreeBSD 4.8).
I will try to figure out another solution, but nothing comes to mind immediately.
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/