Thierry Thomas said that FreeBSD has no machine/joystick.h, instead a sys/joystick.h. I've made the change -- here's hoping it works.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@189 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
b6c81be983
commit
775808a163
@ -57,7 +57,7 @@
|
||||
# include <unistd.h>
|
||||
# include <fcntl.h>
|
||||
# ifdef __FreeBSD__
|
||||
# include <machine/joystick.h>
|
||||
# include <sys/joystick.h>
|
||||
# define JS_DATA_TYPE joystick
|
||||
# define JS_RETURN (sizeof(struct JS_DATA_TYPE))
|
||||
# elif defined(__linux__)
|
||||
|
Reference in New Issue
Block a user