[Xenomai-core] #include linux/uaccess.h fails with Linux 2.4

2008-01-09 Thread Wolfgang Grandegger
Hello, recent versions of Xenomai include the header file linux/uaccess.h in xenomai/include/asm-generic/syscall.h which does not exist under Linux 2.4. asm/uaccess should be used instead. Any clever idea how to fix it (without using #ifdefs)? Wolfgang.

Re: [Xenomai-core] #include linux/uaccess.h fails with Linux 2.4

2008-01-09 Thread Gilles Chanteperdrix
On Jan 9, 2008 10:46 AM, Wolfgang Grandegger [EMAIL PROTECTED] wrote: Hello, recent versions of Xenomai include the header file linux/uaccess.h in xenomai/include/asm-generic/syscall.h which does not exist under Linux 2.4. asm/uaccess should be used instead. Any clever idea how to fix it

Re: [Xenomai-core] #include linux/uaccess.h fails with Linux 2.4

2008-01-09 Thread Philippe Gerum
Wolfgang Grandegger wrote: Hello, recent versions of Xenomai include the header file linux/uaccess.h in xenomai/include/asm-generic/syscall.h which does not exist under Linux 2.4. asm/uaccess should be used instead. Any clever idea how to fix it (without using #ifdefs)? Actually, we should