Module: xenomai-jki
Branch: for-forge
Commit: 515d8598e8c7326c7ea2fa44c5689bf707473d94
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=515d8598e8c7326c7ea2fa44c5689bf707473d94

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Wed Mar 11 11:31:46 2015 +0100

cobalt/timer: Fix build for kernels < 3.18

Add missing include to wrap raw_cpu_ptr for older kernels.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 include/cobalt/kernel/timer.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/cobalt/kernel/timer.h b/include/cobalt/kernel/timer.h
index 7fc4f73..1fe0427 100644
--- a/include/cobalt/kernel/timer.h
+++ b/include/cobalt/kernel/timer.h
@@ -24,6 +24,7 @@
 #include <cobalt/kernel/stat.h>
 #include <cobalt/kernel/list.h>
 #include <cobalt/kernel/ancillaries.h>
+#include <asm/xenomai/wrappers.h>
 
 /**
  * @addtogroup cobalt_core_timer


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

Reply via email to