diff options
-rw-r--r-- | newlib/libc/sys/sparc64/sys/_timeval.h (renamed from newlib/libc/sys/sparc64/sys/time.h) | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/newlib/libc/sys/sparc64/sys/time.h b/newlib/libc/sys/sparc64/sys/_timeval.h index 853dcf1ad..84ee717bb 100644 --- a/newlib/libc/sys/sparc64/sys/time.h +++ b/newlib/libc/sys/sparc64/sys/_timeval.h @@ -1,7 +1,12 @@ #ifndef _SYS_TIME_H #define _SYS_TIME_H -#include <sys/types.h> /* for time_t */ +#include <machine/types.h> + +#ifndef __time_t_defined +typedef _TIME_T_ time_t; +#define __time_t_defined +#endif #ifdef __cplusplus extern "C" { |