Module: xenomai-rpm
Branch: for-upstream
Commit: 7380578732e586c4a3c46cd846af9158533a4fe5
URL:    
http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=7380578732e586c4a3c46cd846af9158533a4fe5

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Sep  6 15:58:00 2010 +0200

native: fix build for simulation mode

---

 include/native/timer.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/native/timer.h b/include/native/timer.h
index 4d16e5d..60880eb 100644
--- a/include/native/timer.h
+++ b/include/native/timer.h
@@ -48,7 +48,9 @@ typedef struct rt_timer_info {
 #if defined(__KERNEL__) || defined(__XENO_SIM__)
 
 #include <nucleus/timer.h>
+#ifdef __KERNEL__
 #include <asm-generic/xenomai/timeconv.h>
+#endif
 
 extern xntbase_t *__native_tbase;
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to