fix some src compile problems
PATCH 1/1 fix some src compile problems
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.
skins/posix/clock.c +2 -0
@@ -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>
skins/native/timer.c +2 -0
@@ -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>
testsuite/clocktest/clocktest.c +1 -1
@@ -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) {
Quoted 4 lines · Wolfgang Grandegger
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.
I would say, just go ahead. The fixes are obvious and correct.
Thanks!
Jan
Wolfgang Grandegger
AppliedQuoted 7 lines · Jan Kiszka
Quoted 4 lines · Wolfgang Grandegger
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.
I would say, just go ahead. The fixes are obvious and correct.
Applied, already 2 days ago. For some reasons, the problems do not show up with 2.6
Wolfgang.