From 2072888e66f0859bd7a0f77a5b24db4d3bdc6c34 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 9 Oct 2009 18:43:12 +0000 Subject: [PATCH] 2009-10-09 Dave Korn * libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when defining struct timeval. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/sys/time.h | 1 + 2 files changed, 6 insertions(+) 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; -- 2.43.5