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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Jul 24 12:43:54 2013 +0200

mercury/copperplate: provide definition of sigev_notify_thread_id

---

 include/mercury/copperplate/signal.h |    4 ++++
 lib/copperplate/timerobj.c           |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/mercury/copperplate/signal.h 
b/include/mercury/copperplate/signal.h
index 38dd9f7..69b1ff1 100644
--- a/include/mercury/copperplate/signal.h
+++ b/include/mercury/copperplate/signal.h
@@ -20,6 +20,10 @@
 
 #include <signal.h>
 
+#ifndef sigev_notify_thread_id
+#define sigev_notify_thread_id  _sigev_un._tid
+#endif
+
 /* Private signal used for unblocking from syscalls. */
 #define SIGRELS        (SIGRTMIN + 9)
 
diff --git a/lib/copperplate/timerobj.c b/lib/copperplate/timerobj.c
index 6f7d272..2e2d758 100644
--- a/lib/copperplate/timerobj.c
+++ b/lib/copperplate/timerobj.c
@@ -32,6 +32,7 @@
 #include "copperplate/timerobj.h"
 #include "copperplate/clockobj.h"
 #include "copperplate/debug.h"
+#include "copperplate/signal.h"
 #include "internal.h"
 
 static sem_t svsync;


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

Reply via email to