Add kernel space header for <sys/lock.h> for RTEMS

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
Sebastian Huber 2016-10-27 08:38:16 +02:00 committed by Corinna Vinschen
parent dcaf7fedb9
commit 4b3a664a20
1 changed files with 6 additions and 1 deletions

View File

@ -232,4 +232,9 @@ typedef struct _Mutex_recursive_Control _LOCK_RECURSIVE_T;
__END_DECLS
#endif /* _SYS_LOCK_H_ */
#ifdef _KERNEL
/* Header file provided outside of Newlib */
#include <machine/_kernel_lock.h>
#endif
#endif /* !_SYS_LOCK_H_ */