On Tue, Jul 29, 2008 at 01:25:02 +0100, Chris Lamb wrote: > Martin Zobel-Helas wrote: > > > > from ../syscall.c:72: > > > /usr/include/asm-sparc/ptrace.h:44: error: expected '=', ',', ';', 'asm' > > > or '__attribute__' before 'pt_regs_is_syscall' > > I coincidentally bumped into this issue a few days ago when playing with > ptrace on sparc. Defining bool locally fixed the problem for me; it's > protected by "#ifdef __KERNEL__" in <linux/types.h>. > > Hacky patch attached (untested as my sparc box is now in storage, alas). > or you could just #include <stdbool.h>
Cheers, Julien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]