workaround redefinition of struct timeval on NetBSD

Todd Vierling tv at pobox.com
Sat May 24 12:10:42 CDT 2003


On Sat, 24 May 2003, Yorick Hardy wrote:

: Test programs which include winsock.h and time.h cause a redefinition
: of struct timeval on NetBSD. This is because time.h includes sys/time.h.
: A workaround is provided below.

The patch should probably #include <time.h>, not <sys/time.h>, to guarantee
that native libc call prototypes continue to get the native definition of
timeval.

-- 
-- Todd Vierling <tv at pobox.com>



More information about the wine-devel mailing list