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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Mon Oct 10 20:18:22 2011 +0200

wrappers: fix compilation of HOSTRT without TICKDEV

---

 include/asm-generic/wrappers.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h
index ebfc343..407c203 100644
--- a/include/asm-generic/wrappers.h
+++ b/include/asm-generic/wrappers.h
@@ -28,9 +28,9 @@
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/slab.h>
-#ifdef __IPIPE_FEATURE_REQUEST_TICKDEV
+#if defined(CONFIG_XENO_OPT_HOSTRT) || defined(__IPIPE_FEATURE_REQUEST_TICKDEV)
 #include <linux/ipipe_tickdev.h>
-#endif /* __IPIPE_FEATURE_REQUEST_TICKDEV */
+#endif /* CONFIG_XENO_OPT_HOSTRT || __IPIPE_FEATURE_REQUEST_TICKDEV */
 #include <asm/io.h>
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)


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

Reply via email to