All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [patch] fix posix userspace headers
@ 2005-12-08 22:31 Jan Kiszka
  2005-12-16 23:41 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2005-12-08 22:31 UTC (permalink / raw)
  To: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 100 bytes --]

Good evening,

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

Jan

[-- Attachment #2: posix-header.patch --]
[-- Type: text/x-patch, Size: 544 bytes --]

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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-core] [patch] fix posix userspace headers
  2005-12-08 22:31 [Xenomai-core] [patch] fix posix userspace headers Jan Kiszka
@ 2005-12-16 23:41 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2005-12-16 23:41 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Jan Kiszka wrote:
> Good evening,
> 
> this patch is required to compile some posix userspace program against
> 2.1 SVN.
> 
> Jan
> 

Applied, thanks.

> 
> ------------------------------------------------------------------------
> 
> 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 */
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core


-- 

Philippe.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-16 23:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-08 22:31 [Xenomai-core] [patch] fix posix userspace headers Jan Kiszka
2005-12-16 23:41 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.