summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/machine/time.h5
-rw-r--r--newlib/libc/include/sys/features.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/newlib/libc/include/machine/time.h b/newlib/libc/include/machine/time.h
index 0caf12655..a296857d4 100644
--- a/newlib/libc/include/machine/time.h
+++ b/newlib/libc/include/machine/time.h
@@ -9,6 +9,11 @@
#endif
#endif /* !__rtems__ */
+#ifdef __SPU__
+#include <sys/types.h>
+int nanosleep (const struct timespec *, struct timespec *);
+#endif
+
#endif /* _MACHTIME_H_ */
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index 1159dfdd5..866044f60 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -170,11 +170,6 @@ extern "C" {
#endif /* !__STRICT_ANSI__ || __cplusplus || __STDC_VERSION__ >= 199901L */
#endif /* __CYGWIN__ */
-#ifdef __SPU__
-/* Not much for now! */
-#define _POSIX_TIMERS 1
-#endif
-
#ifdef __cplusplus
}
#endif