#include <linux/uaccess.h> fails with Linux 2.4
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.
Quoted 6 lines · 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)?
Add include/compat/linux/uaccess.h that does #include <asm/uaccess.h>
Signature · 1 line
Gilles Chanteperdrix
Quoted 6 lines · 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)?
Actually, we should be fine with asm/uaccess.h in any case. Fixed in the repo.
Signature · 1 line
Philippe.