Module: xenomai-3
Branch: next
Commit: b2d71ad46aa15a74861b2a4929738e79e57a45b1
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b2d71ad46aa15a74861b2a4929738e79e57a45b1

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