summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/sys/sparc64/sys/time.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 845dfa54d..31222426c 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-22 Yaakov Selkowitz <yselkowi@redhat.com>
+
+ * libc/sys/sparc64/sys/time.h: #include <sys/types.h> for time_t.
+
2015-01-22 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
* libc/sys/or1k/mlock.c: Fix dependency on libgloss.
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