X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_joystick.c;h=3c2fa9ec14aa0a9d8ce0aafee155805f3822cdc4;hb=3279d109029a83b1ab7f07cfac0ddd8cc8a7cce5;hp=3a1e32596f266832623739e35f0e9bf56acf3e6a;hpb=585c48d614d2b7e22c18fb1ee998a303f9e7fdf3;p=freeglut diff --git a/src/freeglut_joystick.c b/src/freeglut_joystick.c index 3a1e325..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,9 +72,7 @@ # if HAVE_FCNTL_H # include # endif -# if HAVE_ERRNO_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