Trying to build usb4java (http://usb4java.org/nativelibs.html) in order to use SDRTrunk (https://code.google.com/p/sdrtrunk/), I get an error about not having LIBUSB_API_VERSION:
LibUsb.c:61:12: error: use of undeclared identifier 'LIBUSB_API_VERSION'
(There are others, but I figure this might be a good place to start).
Looking at libusb docs (http://libusb.sourceforge.net/api-1.0/group__misc.html) it says:
Since version 1.0.13, to help with feature detection, libusb defines a LIBUSB_API_VERSION macro...
But our libusb seems to lack it. Could this be added?
Yes, please attach a complete patch.