added needClear flag to take care of initial window clear and window resize clears
[freeglut] / 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__)