X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_joystick.c;h=b73d7e7b8fcfea7841efaefe6b12eecad11c7380;hb=5a824fe96544516c5f98f18c6ca401de33e5be88;hp=6f6771cf24a845fe840a081a421c50aae30ba02f;hpb=63922c1586329f2ed481453aa9175ecc7b235adb;p=freeglut diff --git a/src/fg_joystick.c b/src/fg_joystick.c index 6f6771c..b73d7e7 100644 --- a/src/fg_joystick.c +++ b/src/fg_joystick.c @@ -46,21 +46,20 @@ # ifdef HAVE_USB_JS # if defined(__NetBSD__) -/* XXX The below hack is done until freeglut's autoconf is updated. */ -# define HAVE_USBHID_H 1 # ifdef HAVE_USBHID_H # include # else # include # endif +# include # elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) # ifdef HAVE_USBHID_H # include # else # include # endif +# include # endif -# include # include /* Compatibility with older usb.h revisions */