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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Apr  7 15:39:13 2014 +0200

cobalt/list: fixup for kernel v3.13+

---

 include/cobalt/kernel/list.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/cobalt/kernel/list.h b/include/cobalt/kernel/list.h
index 626f56f..009324b 100644
--- a/include/cobalt/kernel/list.h
+++ b/include/cobalt/kernel/list.h
@@ -50,7 +50,9 @@ do {                                                          
                \
          __item;                                               \
   })
 
+#ifndef list_next_entry
 #define list_next_entry(__item, __member)                      \
        list_entry((__item)->__member.next, typeof(*(__item)), __member)
+#endif
 
 #endif /* !_COBALT_KERNEL_LIST_H_ */


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

Reply via email to