diff --git a/configure.in b/configure.in index 81aa5b0137d0ab576b0f2f5d1844f5020d8412b0..96b4252c12cbfab9c009ccef4cba5729e8b89456 100644 --- a/configure.in +++ b/configure.in @@ -1573,7 +1573,7 @@ CheckUSBHID() ],[ struct report_desc *repdesc; struct usb_ctl_report *repbuf; - enum hid_kind hidkind; + hid_kind_t hidkind; ],[ have_usbhid=yes ]) diff --git a/src/joystick/bsd/SDL_sysjoystick.c b/src/joystick/bsd/SDL_sysjoystick.c index 1405a8b47b0040eb71a99ea1b3a53f67b8f96cef..0472072f9cdf183f3361515e22582bf89862d3f4 100644 --- a/src/joystick/bsd/SDL_sysjoystick.c +++ b/src/joystick/bsd/SDL_sysjoystick.c @@ -72,7 +72,7 @@ struct report { static struct { int uhid_report; - enum hid_kind kind; + hid_kind_t kind; const char *name; } const repinfo[] = { { UHID_INPUT_REPORT, hid_input, "input" },