summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/machine
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-04-06 22:04:33 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-04-06 22:04:33 +0000
commit43b1cfeca529918cb01fc07309c9bae7c1ad3630 (patch)
tree5d999554915a6744eec3b91312e48777a4e4a5d0 /newlib/libc/include/machine
parent6af3d60df9649865ff4edae8ddcd8966021ef1f8 (diff)
downloadcygnal-43b1cfeca529918cb01fc07309c9bae7c1ad3630.tar.gz
cygnal-43b1cfeca529918cb01fc07309c9bae7c1ad3630.tar.bz2
cygnal-43b1cfeca529918cb01fc07309c9bae7c1ad3630.zip
2009-04-06 Ken Werner <ken.werner@de.ibm.com>
* libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu. * libc/include/machine/time.h (nanosleep): Declare.
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_ */