X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_joystick.c;h=3c2fa9ec14aa0a9d8ce0aafee155805f3822cdc4;hb=3279d109029a83b1ab7f07cfac0ddd8cc8a7cce5;hp=080b71fb079da301e258f73097c3dd53aa9cb8c7;hpb=d6ef179628c92d5a8e0abdd0c747de8f76ba1fde;p=freeglut diff --git a/src/freeglut_joystick.c b/src/freeglut_joystick.c index 080b71f..3c2fa9e 100644 --- a/src/freeglut_joystick.c +++ b/src/freeglut_joystick.c @@ -72,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