All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [PATCH] fix some src compile problems
Date: Fri, 18 May 2007 12:01:55 +0200	[thread overview]
Message-ID: <464D7993.6010008@domain.hid> (raw)

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

Hello,

I needed the attached patch to get the user space stuff of Xenomai 
trunk, head of SVN cross compiled for PPC. Please apply. Thanks.

Wolfgang.

[-- Attachment #2: xenomai-src.patch --]
[-- Type: text/x-patch, Size: 1294 bytes --]

Index: src/skins/posix/clock.c
===================================================================
--- src/skins/posix/clock.c	(revision 2455)
+++ src/skins/posix/clock.c	(working copy)
@@ -16,6 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
  */
 
+#include <stdio.h>
+#include <stdlib.h>
 #include <errno.h>
 #include <pthread.h>		/* For pthread_setcanceltype. */
 #include <posix/syscall.h>
Index: src/skins/native/timer.c
===================================================================
--- src/skins/native/timer.c	(revision 2455)
+++ src/skins/native/timer.c	(working copy)
@@ -16,6 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
  */
 
+#include <stdio.h>
+#include <stdlib.h>
 #include <native/syscall.h>
 #include <native/timer.h>
 #include <asm/xenomai/arith.h>
Index: src/testsuite/clocktest/clocktest.c
===================================================================
--- src/testsuite/clocktest/clocktest.c	(revision 2455)
+++ src/testsuite/clocktest/clocktest.c	(working copy)
@@ -160,7 +160,7 @@ int main(int argc, char *argv[])
 {
     int cpus = sysconf(_SC_NPROCESSORS_ONLN);
     int i;
-    char c;
+    int c;
 
     while ((c = getopt(argc,argv,"C:T:")) != EOF)
         switch (c) {

             reply	other threads:[~2007-05-18 10:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18 10:01 Wolfgang Grandegger [this message]
2007-05-18 10:56 ` [Xenomai-core] [PATCH] fix some src compile problems Jan Kiszka
2007-05-20 20:18   ` Wolfgang Grandegger

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=464D7993.6010008@domain.hid \
    --to=wg@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.