summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/sys/sparc64/sys/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/sys/sparc64/sys/time.h b/newlib/libc/sys/sparc64/sys/time.h
index 36f8e1c11..853dcf1ad 100644
--- a/newlib/libc/sys/sparc64/sys/time.h
+++ b/newlib/libc/sys/sparc64/sys/time.h
@@ -1,6 +1,8 @@
#ifndef _SYS_TIME_H
#define _SYS_TIME_H
+#include <sys/types.h> /* for time_t */
+
#ifdef __cplusplus
extern "C" {
#endif