Thanks for the quick response, but it seems you missed an important part of the patch. (New one attached)
JS_RETURN one of the defines in linux/joystick.h (which is just 'sizeof(struct JS_DATA_TYPE)') so it does not exist on FreeBSD. Also buttons is not a member of the used struct, and there is a missing brace.
Thanks. Got fixed in svn branch releases/1.8 in r4997 and merged into svn trunk in r4998.
Thanks for the quick response, but it seems you missed an important part of the patch. (New one attached)
JS_RETURN one of the defines in linux/joystick.h (which is just 'sizeof(struct JS_DATA_TYPE)') so it does not exist on FreeBSD. Also buttons is not a member of the used struct, and there is a missing brace.
Oops, guess I missed parts of it somehow. I hope I got it right this time - revisions 5000 in 1.8 and 5001 in svn trunk.
Thanks, compiles fine now.