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

Reply via email to