Good evening,

this patch is required to compile some posix userspace program against
2.1 SVN.

Jan
Index: include/posix/signal.h
===================================================================
--- include/posix/signal.h	(Revision 245)
+++ include/posix/signal.h	(Arbeitskopie)
@@ -20,6 +20,12 @@
 #ifndef _POSIX_SIGNAL_H
 #define _POSIX_SIGNAL_H
 
+#ifndef __KERNEL__
+
+#include_next <signal.h>
+
+#else /* __KERNEL__ */
+
 #include <xenomai/posix/thread.h>
 
 #define SIGACTION_FLAGS (SA_ONESHOT|SA_NOMASK|SA_SIGINFO)
@@ -46,4 +52,6 @@
 
 void pse51_signal_pkg_cleanup(void);
 
+#endif /* !__KERNEL__ */
+
 #endif /* !_POSIX_SIGNAL_H */

Reply via email to