summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/machine
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/machine')
-rw-r--r--newlib/libc/include/machine/time.h5
1 files changed, 5 insertions, 0 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_ */