From: J.C. Jones Date: Sat, 13 Sep 2003 15:48:21 +0000 (+0000) Subject: Thierry Thomas said that FreeBSD has no machine/joystick.h, instead a sys/joystick... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=dd6c1d0a828e629798bed459c2e020abe8c1dab9;p=freeglut 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@189 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_joystick.c b/src/freeglut_joystick.c index 63d7864..1c0e321 100644 --- a/src/freeglut_joystick.c +++ b/src/freeglut_joystick.c @@ -57,7 +57,7 @@ # include # include # ifdef __FreeBSD__ -# include +# include # define JS_DATA_TYPE joystick # define JS_RETURN (sizeof(struct JS_DATA_TYPE)) # elif defined(__linux__)