Module: xenomai-2.6
Branch: master
Commit: 5f5e1f3b1a80cb2cbb700ccc01507b7c75d0986d
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=5f5e1f3b1a80cb2cbb700ccc01507b7c75d0986d

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Nov 28 16:34:54 2012 +0100

blackfin: add declaration missing in uClibc

---

 include/asm-blackfin/syscall.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/asm-blackfin/syscall.h b/include/asm-blackfin/syscall.h
index 8352625..5aff3e3 100644
--- a/include/asm-blackfin/syscall.h
+++ b/include/asm-blackfin/syscall.h
@@ -82,6 +82,7 @@ static inline int __xn_interrupted_p(struct pt_regs *regs)
 #else /* !__KERNEL__ */
 
 #include <errno.h>
+#include <time.h>
 
 /*
  * The following code defines an inline syscall mechanism used by
@@ -178,6 +179,10 @@ inline __attribute__((weak)) int shm_unlink(const char 
*name)
        return -1;
 }
 
+int clock_nanosleep(clockid_t __clock_id, int __flags,
+                   const struct timespec *__req,
+                   struct timespec *__rem);
+
 #endif /* __KERNEL__ */
 
 #endif /* !_XENO_ASM_BLACKFIN_SYSCALL_H */


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to