From: Jeff Johnston Date: Fri, 9 Oct 2009 18:43:12 +0000 (+0000) Subject: 2009-10-09 Dave Korn X-Git-Tag: sid-snapshot-20091101~32 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=2072888e66f0859bd7a0f77a5b24db4d3bdc6c34;p=newlib-cygwin.git 2009-10-09 Dave Korn * libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when defining struct timeval. --- diff --git a/newlib/ChangeLog b/newlib/ChangeLog index b57e356a8..4831204ee 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2009-10-09 Dave Korn + + * libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when + defining struct timeval. + 2009-10-09 Corinna Vinschen * libc/locale/locale.c (DEFAULT_LOCALE): New define. diff --git a/newlib/libc/include/sys/time.h b/newlib/libc/include/sys/time.h index 26346056a..d48839f6e 100644 --- a/newlib/libc/include/sys/time.h +++ b/newlib/libc/include/sys/time.h @@ -13,6 +13,7 @@ extern "C" { #endif #ifndef _WINSOCK_H +#define _TIMEVAL_DEFINED struct timeval { time_t tv_sec; suseconds_t tv_usec;