All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [patch] fix posix userspace headers
Date: Thu, 08 Dec 2005 23:31:12 +0100	[thread overview]
Message-ID: <4398B430.5000706@domain.hid> (raw)

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

             reply	other threads:[~2005-12-08 22:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08 22:31 Jan Kiszka [this message]
2005-12-16 23:41 ` [Xenomai-core] [patch] fix posix userspace headers Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4398B430.5000706@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.