summaryrefslogtreecommitdiff
path: root/devel/psptoolchain-newlib/files/patch-newlib-libc-include-time.h
blob: 646988d7472c9c99c849c0fde7ecced3147d1617 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- newlib/libc/include/time.h.orig	2005-11-18 17:57:24.000000000 +0200
+++ newlib/libc/include/time.h	2007-06-01 12:22:26.000000000 +0300
@@ -174,6 +174,16 @@
 }
 #endif
 #endif /* _POSIX_TIMERS */
+#if defined(__psp__)
+#ifdef __cplusplus
+extern "C" {
+#endif
+int _EXFUN(nanosleep, (const struct timespec  *rqtp, struct timespec *rmtp));
+#ifdef __cplusplus
+}
+#endif
+#endif /*  __psp__ */
+
 
 #ifdef __cplusplus
 extern "C" {