Thierry Thomas said that FreeBSD has no machine/joystick.h, instead a sys/joystick...
authorJ.C. Jones <jc@insufficient.coffee>
Sat, 13 Sep 2003 15:48:21 +0000 (15:48 +0000)
committerJ.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

index 63d7864..1c0e321 100644 (file)
@@ -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__)