X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_joystick.c;h=3c2fa9ec14aa0a9d8ce0aafee155805f3822cdc4;hb=1c741248e3ad67f24a57742cb5cc511f0ee87805;hp=781d0ddb47ed713ee6ffeb343221b5e578d52de2;hpb=1652c4a486eb064ee27d475b317d8bd22ea9e040;p=freeglut diff --git a/src/freeglut_joystick.c b/src/freeglut_joystick.c index 781d0dd..3c2fa9e 100644 --- a/src/freeglut_joystick.c +++ b/src/freeglut_joystick.c @@ -60,7 +60,6 @@ # define _JS_MAX_AXES 8 # include # include -# include # include #endif @@ -73,6 +72,7 @@ # if HAVE_FCNTL_H # include # endif +# include # if defined(__FreeBSD__) || defined(__NetBSD__) /* XXX The below hack is done until freeglut's autoconf is updated. */ # define HAVE_USB_JS 1 @@ -93,8 +93,6 @@ # define JS_RETURN (sizeof(struct JS_DATA_TYPE)) # endif -# include - # if defined(__linux__) # include