fix posix userspace headers
PATCH 1/1 fix posix userspace headers
Good evening,
this patch is required to compile some posix userspace program against 2.1 SVN.
Jan
posix/signal.h +8 -0
@@ -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 */
Philippe Gerum
AppliedQuoted 7 lines · Jan Kiszka
Good evening,
this patch is required to compile some posix userspace program against 2.1 SVN.
Jan
Applied, thanks.
Quoted 35 lines
------------------------------------------------------------------------
Index:
include/posix/signal.h
===================================================================posix/signal.h +8
-1@@ -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
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.