Re: workaround redefinition of struct timeval on NetBSD
24 May
2003
24 May
'03
5:10 p.m.
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(a)pobox.com>
8240
Age (days ago)
8240
Last active (days ago)
0 comments
1 participants
participants (1)
-
Todd Vierling