projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
606a38a
)
Thierry Thomas said that FreeBSD has no machine/joystick.h, instead a sys/joystick...
author
J.C. Jones
<jc@insufficient.coffee>
Sat, 13 Sep 2003 15:48:21 +0000
(15:48 +0000)
committer
J.C. Jones
<jc@insufficient.coffee>
Sat, 13 Sep 2003 15:48:21 +0000
(15:48 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@189
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_joystick.c
patch
|
blob
|
history
diff --git
a/src/freeglut_joystick.c
b/src/freeglut_joystick.c
index
63d7864
..
1c0e321
100644
(file)
--- a/
src/freeglut_joystick.c
+++ b/
src/freeglut_joystick.c
@@
-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__)