cwen 810ffbcc70 libsigrok: use libhidapi's hid_init() instead of our usbhid(3)'s one
Because our usbhid(3) defines hid_init(3), the libhidapi's one has been
renamed to hidapi_hid_init(). Sigrok expects the libhidapi one. This led
to build failures on ld.bfd arches, and probably runtime errors on other
arches.

As such, redefine the hid_init() call to hidapi_hid_init().

OK sthen@, kmos@ (who build tested on sparc64) and
"seems ok to me" bentley@ (maintainer)
2021-04-12 11:22:33 +00:00
..
2021-03-07 02:22:09 +00:00