Fix for issue 462

This commit is contained in:
Johan Ström 2015-03-18 17:20:59 +01:00
parent 229b7f1738
commit 4d606f44f9

View file

@ -252,7 +252,7 @@ static int get_usage(uint8_t *report_descriptor, size_t size,
}
#endif /* INVASIVE_GET_USAGE */
#ifdef defined(__FreeBSD__) && __FreeBSD_version < 1000000
#if defined(__FreeBSD__) && __FreeBSD_version < 1000000
/* The FreeBSD version of libusb doesn't have this funciton. In mainline
libusb, it's inlined in libusb.h. This function will bear a striking
resemblence to that one, because there's about one way to code it.